“550 Failed to change directory”
现象是ftp client端无法change目录,我这边的原因是“SELINUX=enforcing”,修正的方法:
需要重启的办法:vi /etc/selinux/config 将SELINUX=enforcing 改成SELINUX=disabled,然后重启
不重启就可以生效(重启后会失效):setsebool -P ftpd_disable_trans=1
其它:
查看SELINUX状态的命令:sestatus -heipark
原文链接:https://www.iteye.com/blog/heipark-1671578
文章评论