Ubuntu vsftpd 550 permission denied upload

While configuring vsftp I am stuck with the error “550 Permission denied.”

After debugging for quite a bit time and playing with vsftpd.conf editing following 3 configurations are worked for me:

anonymous_enable=NO
local_enable=YES
write_enable=YES

In final final vsftpd.conf file following configurations available:

listen=YES
anonymous_enable=NO
anon_root=/home/user
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem

After doing any changes in vsftpd.conf file you need restart vsftpd daemon to change make the effect.

In Ubuntu/Debian operating systems use following command to restart vsftpd:

$ service vsftpd restart
About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s