关于vsftpd的refusing to run with writable root inside chroot()问题

今天在上班帮测试的同事搭建ftp服务器时出现的一个问题

服务搭建完成后连接时报这个错误:

  refusing to run with writable root inside chroot()

查了资料后找到了原因,在限定了用户不能跳出其主目录之后,使用该用户登录FTP时往往会遇到这个错误

好像是因为更新的原因导致的

可以使用chmod a-w  PATH(你自己的登录ftp的用户家目录,我的是/mnt/ftp,自己修改的)

原文地址:https://www.cnblogs.com/fwnmmdzq/p/9519091.html

时间: 2024-07-28 13:11:06

关于vsftpd的refusing to run with writable root inside chroot()问题的相关文章

解决vsftpd的refusing to run with writable root inside chroot错误

升级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 writeable root directory inside a chroot(). This may bite peo

Linux联接vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误

当我们限定了用户不能跳出其主目录之后,使用该用户登录FTP时往往会遇到这个错误: [html] view plaincopy 500 OOPS: vsftpd: refusing to run with writable root inside chroot () 这个问题发生在最新的这是由于下面的更新造成的: [html] view plaincopy - Add stronger checks for the configuration error of running with a wri

500 OOPS: vsftpd: refusing to run with writable root inside chroot()

Ubuntu 12.04 64bit系统下安装的vsftpd,在登陆时提示500 OOPS: vsftpd: refusing to run with writable root inside chroot().根本原因在于,从vsftpd_2.3.5版开始,取消了根目录的可写权限.因此,网上的普遍解决方案是以下两种: 方案一 $ chmod a-w /vaf/ftp 方案二 $ vim /etc/vsftpd.conf add the following allow_writeable_chr

【转】vsftp 遇到错误 500 OOPS: vsftpd: refusing to run with writable root inside chroot()--不错

原文网址:http://linux.it.net.cn/e/server/ftp/2015/0227/13554.html 当我们限定了用户不能跳出其主目录之后,使用该用户登录FTP时往往会遇到这个错误: 500 OOPS: vsftpd: refusing to run with writable root inside chroot () 这个问题发生在最新的这是由于下面的更新造成的:  IT网,http://www.it.net.cn - Add stronger checks for t

ubuntu 14.04 下FTP服务器的搭建--锁定用户目录,解决vsftpd: refusing to run with writable root inside chroot()

FTP服务器的搭建,我要实现的需求是: 不允许匿名访问,因为我的机器不想让谁都能登录上来,随便获取文件, 需要锁定一个目录,因为在家里,我需要给媳妇下载一些电影 韩剧之类的东西,媳妇会来我机器下载,但是我不想让他随意操作我的东西. 万一删除我的配置文件,我就惨了(吐槽一下韩剧:媳妇问我,你都没看过韩剧怎么知道它不好看呢,我说:我没吃过屎 但是知道它一定不好吃!) 另外,需要本机也能访问,因为我要做一些关于FTP的测试.  不单独建立FTP用户,FTP也使用ubuntu桌面的用户进行登录和操作,

vsftp--500 OOPS: vsftpd: refusing to run with writable root inside chroot()

概述: 今天把服务器升级到了Centos7,准备弄一个vsftpd做一个简单的权限控制,如下 1,local_enable=YES        ###允许用户登录. 2,chroot_local_user=YES    ##所有用户chroot 设置好了,但是报错 500 OOPS: vsftpd: refusing to run with writable root inside chroot() 内核: Linux localhost.localdomain 3.10.0-123.el7.

vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误的解决方法

当我们限定了用户不能跳出其主目录之后,使用该用户登录FTP时往往会遇到这个错误: 500 OOPS: 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(). Thi

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对chroot的根目录加强了检查,禁锢根目录后,如果根目录有写入权限,则会出现此提示. 解决方案: 个人推荐第一种. 1.在配置文件中增加一行: #vim /etc/vsftpd/vsftpd.conf allow_writeable_chroot=YES 2.更改根目录的权限: 假设

500 OOPS: vsftpd: refusing to run with writable anonymous root

500 OOPS: vsftpd: refusing to run with writable anonymous root 以下就是解决的三个步骤,其中第一步,是我一直没有搞明白的,也是其中的重点: 1当时我在服务器上用命令ftp时,出现了以下的提示500 OOPS: vsftpd: refusing to run with writable anonymous root 所以在网上找到了这一篇文章: "如果我们已经把vsFTPd服务器启动好了,但登录测试是会出现类似下面的提示: 500 OO