centos vsftpd 553 Could not create file.

问题由于selinux引起的,问题解决办法:

输入:getsebool -a | grep ftpd
allow_ftpd_anon_write –> off
allow_ftpd_full_access –> on
allow_ftpd_use_cifs –> off
allow_ftpd_use_nfs –> off
ftp_home_dir –> on
ftpd_connect_db –> off
httpd_enable_ftp_server –> off
sftpd_anon_write –> off
sftpd_enable_homedirs –> off
sftpd_full_access –> off
sftpd_write_ssh_home –> off
tftp_anon_write –> off

红色的要为on才行,更改命令:

setsebool allow_ftpd_full_access on
setsebool ftp_home_dir on
或者setsebool allow_ftpd_full_access 1

你可能感兴趣的:(centos vsftpd 553 Could not create file.)