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

Source: Internet
Author: User

Ubuntu 12.04 64bit system installed under the VSFTPD, when logged in prompted by OOPS:vsftpd:refusing to run with writable root inside Chroot (). The root cause is that, starting with version vsftpd_2.3.5, the writable permissions for the roots are canceled. Therefore, the general solution on the Internet is the following two kinds of solutions:

方案一

$ chmod a-w /vaf/ftp

方案二

$ vim /etc/vsftpd.conf add the following

allow_writeable_chroot=YES

It seems that the second way is more perfect, but when I put the Allow_writeable_chroot=yes configuration item, when I restart the VSFTPD service found that it does not work properly (21-Port no program in the monitoring), so the Internet to find solutions, found a variety of statements , some people say that the configuration item is allow_writable_chroot (less e), and that the configuration item is allow_writable_root (less ch), etc., after I test, found that all is not working. Finally, a workable method was found.

Complete solution for Ubuntu 12.04 64bit

$ apt-get install python-software-properties

$ sudo add-apt-repository ppa:thefrontiergroup/vsftpd

$ sudo apt-get update

$ sudo apt-get install vsftpd

$ vim /etc/vsftpd.conf and add the following

chroot_local_user=YES

allow_writeable_chroot=YES

$ sudo service vsftpd restart

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.