首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

centos vsftpd 553 Could not create file

2013-02-20 
centos vsftpd 553 Could not create file.问题由于selinux引起的,问题解决办法:输入:getsebool -a | grep

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

热点排行