解决vsftpd的refusing to run with writable root inside chroot错误
来源:互联网 发布:fc2域名注册 编辑:程序博客网 时间:2024/06/03 20:34
这几天又重操旧业——在路由器上使用Aria2进行离线下载,并使用vsftpd进行分享。之前VPS上的vsftpd配置得很顺利,但是这次路由器上却遇到了点问题。下面是翻译国外某博客的解决方法。
升级vsftpd或者vsftpd-ext后,登录时可能会出现这样的错误:
500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
这是由于下面的更新造成的:
- Add stronger checks for the configuration error of running with a writeableroot directory inside a chroot(). This may bite people who carelessly turnedon chroot_local_user but such is life.
问题的是因为用户的根目录可写,并且使用了chroot限制,而这在最近的更新里是不被允许的。要修复这个错误,可以用命令chmod a-w /home/user
去除用户根目录的写权限,注意把目录替换成你自己的。
或者你可以在vsftpd的配置文件中增加下列两项中的一项:
对于标准的vsftpd build (vsftpd):
allow_writeable_chroot=YES
对于扩展的vsftpd build (vsftpd-ext):
allow_writable_chroot=YES
0 0
- 解决vsftpd的refusing to run with writable root inside chroot错误
- 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 ()错误的解决方法
- vsftpd:500 OOPS: 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 ()错误的解决方法
- vsftpd:500 OOPS: 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()
- Linux联接vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误
- vsftpd遇到“refusing to run with writable root inside chroot”错误
- ubuntu 14.04 下FTP服务器的搭建--锁定用户目录,解决vsftpd: refusing to run with writable root inside chroot()
- 关于在ubuntu下,ftp服务器连接错误,vsftpd: refusing to run with writable root inside chroot
- Fixing 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
- 解决方法 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
- 500 OOPS: vsftpd: refusing to run with writable root inside chroot () 问题处理
- 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
- 一个屌丝程序员对项目测试一些想法
- JavaScript实现下拉菜单(鼠标、键盘操作)
- silent install oracle 11.2.0.1 x86_64 for linux
- android 异步任务的用法详解
- mysql忘记密码怎么办?
- 解决vsftpd的refusing to run with writable root inside chroot错误
- 关于mysql处理百万级以上的数据时如何提高其查询速度的方法
- VB.NET可选参数调用方式解析
- ExtJs layout的七中布局
- HOWTO: Integrating SSH tunneling inside your application
- Linux编程---I/O部分
- 一点点
- Cocos2d-x JSB 自动绑定bindings
- VC如何计算文件夹大小