553 could not create file
输入如下命令:
getsebool -a |grep ftpd
返回:
allow_ftpd_anon_write --> off
allow_ftpd_full_access --> off
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
ftpd_connect_db --> off
ftpd_use_passive_mode --> off
修改红色一行,把off改为on
setsebool allow_ftpd_full_access on
service vsftpd restart
测试OK!
本文出自 “石林博客” 博客,请务必保留此出处http://stoneking.blog.51cto.com/65035/1389389
时间: 2024-10-03 18:36:04