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

Source: Internet
Author: User

When we limit the user's inability to jump out of their home directory, this error is often encountered when using the user to log on to ftp:

[HTML] view plain copy OOPS:vsftpd:refusing to run with writable root inside Chroot ()

This problem occurs at the latest because of the following update:

[HTML] view plain copy-add stronger checks for the configuration error of running with a writeable root dir Ectory inside a chroot (). This could bite people who carelessly turned in Chroot_local_user but is life.

After 2.3.5, VSFTPD enhances the security check and if the user is restricted to its home directory, the user's home directory cannot have write permission anymore. If the check finds that there is write permission, the error is reported.

To fix this error, you can use the command chmod a-w/home/user to remove write permissions for the user's home directory, and pay attention to replacing the directory with your own. Or you can add one of the following two items to the VSFTPD configuration file:


Allow_writeable_chroot=yes

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.