ftp error : 550 create directory operation failed
Solution I :
Disable SELinux. To see, how to disable it, Click here.
Solution II :
If you do not want to disable SELinux. Follow this.
Run following commands.
Solution III :
If you are getting this error on ubuntu then the SELinux solution might not work for you because it is not installed by default on ubuntu.
Open vsftpd.conf and uncomment following line.
Now try to connect but if you get following error
Now you should be able to create and remove directory/files using filezilla.
Solution I :
Disable SELinux. To see, how to disable it, Click here.
Solution II :
If you do not want to disable SELinux. Follow this.
Run following commands.
# chcon -Rv --type user_home_dir_t /path/of/ftp/directory
ORNow restart vsftpd and try to reconnect again.# chcon -t public_content_rw_t /path/of/ftp/directory # setsebool -P allow_ftpd_anon_write=1
Solution III :
If you are getting this error on ubuntu then the SELinux solution might not work for you because it is not installed by default on ubuntu.
Open vsftpd.conf and uncomment following line.
# write_enable=YES
Restart vsftpd.Now try to connect but if you get following error
# 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
Add this attribute in vsftpd.conf
# allow_writeable_chroot=YES
Restart vsftpd.Now you should be able to create and remove directory/files using filezilla.
No comments:
Post a Comment