我在debian 7.3上安装vsftpd来运行FTP服务器。 我检查vsftpd版本是2.3.5 ,我configuration它像这样:
listen=YES local_enable=YES write_enable=YES chroot_local_user=YES pasv_min_port=15000 pasv_max_port=15200 allow_writeable_chroot=YES
我遵循这个文章来解决这个问题:
http://blog.waja.info/2013/05/13/500-oops-vsftpd-refusing-to-run-with-writable-root-inside-chroot/
http://www.mikestechblog.com/joomla/operating-systems-section/operating-systems-ubuntu/155-500-oops-vsftpd-refusing-to-run-with-writable-root-inside-chroot.html
和谷歌和论坛上的其他许多人。 但是我的问题没有解决。
注意:我已经在Ubuntu 12.04上解决了这个问题,但是这个解决scheme在Debian 7.3上不起作用。
我真的搞混了吗?
我search它toooooooooo很多,我真的混淆了,所以我决定把vsftpd更改为sftp或其他东西,直到我find了关于这个bugg的链接。
然后我发现这个问题是在vsftpd版本3中解决的。所以我search了如何升级它,并可以find我的debian 7.3添加jessie仓库,并升级它:
echo "deb http://ftp.us.debian.org/debian jessie main contrib non-free" >> /etc/apt/sources.list aptitude update aptitude upgrade vsftpd echo "allow_writeable_chroot=YES" >> /etc/vsftpd.conf service vsftpd restart
现在它为我工作正确。