Overview:
Upgrade the server to centos7 today, and prepare a vsftpd for simple permission control, as shown below:
1. local_enable = Yes ### allow users to log on.
2, chroot_local_user = yes # All Users chroot
Set but an error is reported.
500 Oops: vsftpd: refusing to run with writable root inside chroot ()
Kernel:
Linux localhost. localdomain 3.10.0-123. el7.x86 _ 64 #1 SMP mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Cause:
Root directory. You cannot have the write permission. For specific reasons, it is worth further consideration. I am using a system account. The default permission is 700.
Change permissions:
Chown U-W/Username
Problem Solving
This article is from the "nick_zhang" blog, please be sure to keep this source http://user888.blog.51cto.com/8190783/1553002
Vsftp -- 500 Oops: vsftpd: refusing to run with writable root inside chroot ()