This article is a mirror article of machine translation, please click here to jump to the original article.

View: 12015|Reply: 0

[FTP] vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot (...

[Copy link]
Posted on 6/26/2018 4:30:59 PM | | | |
500 OOPS: vsftpd: refusing to run with writable root inside chroot()
The remote host closes the connection.


My vsftpd.conf config file:
This error is often encountered when using the user to log in to FTP after we have qualified that the user cannot jump out of their home directory, and this issue occurs in the latest This is due to the following update:

- 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 has enhanced security checks so that if a user is restricted to their home directory, that user's home directory can no longer have write permissions! If the check shows that there is still write permission, the error will be reported.

To fix this error, you can use the command chmod a-w /home/user to remove the write permission of the user's home directory, and be careful to replace the directory with your own. Or you can add one of the following to the vsftpd configuration file:

allow_writeable_chroot=YES





Previous:vsftpd Redirecting to /bin/systemctl restart vsftpd.service workaround
Next:Centos 7 installation. NET Core SDK tutorial
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com