wutao1935

导航

centos install vsftpd常见的错误:vsftpd: refusing to run with writable root inside chroot ()错误

vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误
 vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误
原因是因为从2.3.5之后,vsftpd增强了安全检查,如果用户被限定在了其主目录下,则该用户的主目录不能再具有写权限了!如果检查发现还有写权限,就会报该错误。
 解决这个错误的方法,可以用命令chmod a-w /home/test去除用户主目录的写权限,注意把目录替换成你自己的。

或者你可以在vsftpd的配置文件中增加下列两项中的一项:allow_writeable_chroot=YES

 

posted on 2019-09-24 14:24  逐风浪子  阅读(1351)  评论(0编辑  收藏  举报