550 Create Directory Failed ftp

Latest response

i've configure ftp on my machine and user ftp can login to ftp. but, when user create directory on ftp, i get message error "550 Create Directory Failed"".
anybody can help me. how can i solve this error ?

Responses

What ftp service being used here? Is this vsftpd? By default there is 'anonymous_upload' is disabled, also if SELinux is enabled you need to enable this boolean "ftpd_anon_write" ("allow_ftpd_anon_write" .... in case of RHEL6.x)

#setsebool -P ftpd_anon_write=1

[root@localhost ~]# grep anon_upload_enable /etc/vsftpd/vsftpd.conf
anon_upload_enable=YES

You would need to un-comment this line "anon_upload_enable" and save the changes, then restart vsftpd daemon. Check if this helps.

Hi Peter,

Maybe it is a stupid question, but - does the ftp user have the possibly needed ACL permissions ? :)
If not, give him the permissions : sudo setfacl -R -m u:<ftp-user>:rwx /<path-to-ftp>

Regards,
Christian

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.