centos vsftpd 553 Could not create file解决方法
 
问题由于selinux引起的,问题解决办法:
  www.2cto.com  
输入:getsebool -a | grep ftpd
allow_ftpd_anon_write –> off
 


 
allow_ftpd_use_cifs –> off
allow_ftpd_use_nfs –> off
 


 
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
  www.2cto.com  
红色的要为on才行,更改命令:
 


setsebool allow_sftpd_full_access on
Logo

更多推荐