Chinaunix

标题: cannot change directory:/home/*** [打印本页]

作者: tomcent_2006    时间: 2008-04-10 00:45
标题: cannot change directory:/home/***

ftp服务器连接失败,错误提示:
500 OOPS: cannot change directory:/home/*******
500 OOPS: child died
解决方法:
在终端输入命令:
setsebool ftpd_disable_trans 1
service vsftpd restart
就OK了!
创建chroot_list文件,把需要的用户名字加入即可
还是用下面的方法更好,至少不需要每次启动都执行上面的命令
#vi /etc/selinux/config


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/25969/showart_524713.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2