vsftpd出现refusingtorunwithwritablerootinsidechroot错误
发布时间:2022-06-14 12:34:30 所属栏目:站长百科 来源:互联网
导读:下面我们来看vsftpd的refusing to run with writable root inside chroot错误解决办法吧,方法非常的简单只要对文章简单的配置即可解决. 安装前几天的文章安装了vsftpd的朋友如果在安装之后登陆出现了refusing to run with writable root inside chroot错误的
下面我们来看vsftpd的refusing to run with writable root inside chroot错误解决办法吧,方法非常的简单只要对文章简单的配置即可解决. 安装前几天的文章安装了vsftpd的朋友如果在安装之后登陆出现了refusing to run with writable root inside chroot错误的话,这是由于下面的更新造成的: - Add stronger checks for the configuration error of running with a writeable root directory inside a chroot(). This may bite people who carelessly turned //phpfensi.com on chroot_local_user but such is life. 问题的是因为用户的根目录可写,并且使用了chroot限制,而这在最近的更新里是不被允许的,要修复这个错误,可以用命令chmod a-w /home/user去除用户根目录的写权限,注意把目录替换成你自己的. 或者你可以在vsftpd的配置文件中增加下列两项中的一项.对于扩展的vsftpd build (vsftpd-ext):allow_writable_chroot=YES;对于标准的vsftpd build (vsftpd):allow_writeable_chroot=YES。 (编辑:淮安站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |