Vsftpd refusing to run with writable root inside chroot error

Source: Internet
Author: User


A few days before the installation of the article installed VSFTPD friend if the login after the installation of refusing to run with writable root inside chroot error,

This is caused by the following update:

-Add stronger checks for the configuration error of running with a writeable
root directory inside a chroot (). This could bite people who carelessly turned
On Chroot_local_user but such are life.

The problem is that the user's root directory is writable and the chroot limit is used, which is not allowed in recent updates. To fix this error, you can use the command chmod a-w/home/user to remove the user's root write permissions, 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:

For the standard VSFTPD build (VSFTPD):

Allow_writeable_chroot=yes

For the extended vsftpd build (Vsftpd-ext):

Allow_writable_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.