Vsftp -- 500 Oops: vsftpd: refusing to run with writable root inside chroot ()

Source: Internet
Author: User

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 ()

Related Article

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.