vsftpd: Error 553 – Could not create file OR login error 530

It often happens when we install vsftpd on newly installed system and configure it properly still sometimes we get one of the following error.

  1. vsftpd:  Error 553 – Could not create file
  2. vsftpd:  Error 530 – Login Incorrect (Even if username and password are correct)

So what is the problem and how to resolve.

The problem is often due to SElinux. To resolve this you will need to disable SElinux protection for FTP , from SElinux settings. For this you just have to run the following command:

setsebool -P ftp_home_dir 1

This commands makes selinux to allow ftp. Selinux is not disabled. It’s not recommended to disable Selinux.

To make it survive the reboots you need to create a file


and append line


This will resolve the vsftpd error caused due to SElinux.


If SElinux is disabled on your system. In this situation, the cause of the problem may be a permissions issue or a wrongly configured vsftpd.


  1. H i guys, i have faced the same issue, i have turnned off the firewall on the destination andtried, after that it works fine. Below are the steps to turn-off the firewall using CLI,

    1. setup
    2. Firewall Configuration
    3. Disabled

  2. That is a great tip particularly to those new to the blogosphere. Simple but very accurate information… Thanks for sharing this one. A must read article!

  3. Everything is very open with a really clear explanation of the challenges. It was truly informative. Your website is extremely helpful. Many thanks for sharing!

Leave a Reply

Your email address will not be published.


CommentLuv badge