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

Source: Internet
Author: User

When we restrict users from jumping out of their home directory, they often encounter this error when using the user to log on to ftp:

[HTML]View Plaincopy
    1. OOPS:vsftpd:refusing to run with writable root inside Chroot ()

This problem occurs at the latest due to the following update:

[HTML]View Plaincopy
    1. -  Add stronger checks for the configuration error of running with  a writeable root directory inside a chroot ().  This may bite  people who carelessly turned on chroot_local_user but such is  life.  

Since 2.3.5, vsftpd enhanced the Security check, if the user is limited to their home directory, then the user's home directory can no longer have write permission! If the check finds that there are write permissions, the error is reported.

To fix this error,

programme One: Use the command chmod a-w/home/user to remove the Write permission from the user's home directory, and take care to replace the directory with your own.

Scenario Two: Add one of the following two items in the VSFTPD configuration file Allow_writeable_chroot=yes

Restart the VSFTPD service, the user can only be active in their own home directory


Original reference Study Daniel article, thank you: http://blog.csdn.net/bluishglc/article/details/42399439

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

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.