Solve the CentOS vsftp 553 cocould not create file Error
Symptom: you can log on to ftp from a remote server, view ftp files in various paths, but cannot upload files. The upload prompt is 553 cocould not create file.
Check the various folder permissions and set them to OK. The last error is SELinux,
View SELinux settings:
[Root @ beaconvm02 vsftpd] # getsebool-a | grep ftp
Allow_ftpd_anon_write --> off
Allow_ftpd_full_access --> off
Allow_ftpd_use_cifs --> off
Allow_ftpd_use_nfs --> off
Ftp_home_dir --> off
Ftpd_connect_db --> off
Ftpd_use_fusefs --> off
Ftpd_use_passive_mode --> off
Httpd_enable_ftp_server --> off
Tftp_anon_write --> off
Tftp_use_cifs --> off
Tftp_use_nfs --> off
The problem is that you need to set allow_ftpd_full_access to on and modify the settings.
[Root @ beaconvm02 vsftpd] # setsebool allow_ftpd_full_access on
Check again
[Root @ beaconvm02 vsftpd] # getsebool-a | grep ftp
Allow_ftpd_anon_write --> off
Allow_ftpd_full_access --> on
Allow_ftpd_use_cifs --> off
Allow_ftpd_use_nfs --> off
Ftp_home_dir --> off
Ftpd_connect_db --> off
Ftpd_use_fusefs --> off
Ftpd_use_passive_mode --> off
Httpd_enable_ftp_server --> off
Tftp_anon_write --> off
Tftp_use_cifs --> off
Tftp_use_nfs --> off
[Root @ beaconvm02 vsftpd] #
Upload the file again.