centos install vsftpd common mistakes: vsftpd: refusing to run with writable root inside chroot () error

vsftpd: 500 OOPS: vsftpd: refusing to run with writable root inside chroot () error
 vsftpd: 500 OOPS: vsftpd: refusing to run with writable root inside chroot () error
reason is because from after 2.3.5, vsftpd enhanced security checks If a user is defined in the main directory, the user's home directory can not have the authority to write! If the inspection found that there are write permission, it will report the error.
 Solve this the wrong way, you can use the command chmod aw / home / test write permissions to remove the user's home directory, pay attention to replace the directory into your own.

Or you can add one of the following two in the vsftpd configuration file: allow_writeable_chroot = YES

 

Guess you like

Origin www.cnblogs.com/wutao1935/p/11578100.html