天天看點

centos vsftpd 553 Could not create file解決方法

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

紅色的要為on才行,更改指令:

setsebool allow_sftpd_full_access on

繼續閱讀