Solve the error of vsftp refusing to run with writable root inside chroot in Ubuntu 14.

Source: Internet
Author: User

Upgrade Ubuntu 9.04 to Ubuntu 14.04 LTS. After vsftpd is restored, you cannot log on. The FlashFXP log prompts:
[18:33:18] Winsock 2.2 -- OpenSSL 1.0.1h 5 Jun 2014
[18:33:24] [R] connecting to 10.10.10.111-> IP = 10.10.10.111 PORT = 21
[18:33:24] [R] connected to 10.10.10.111
[18:33:24] [R] 220 Welcome to Yimiju FTP service.
[18:33:24] [R] USER ******
[18:33:24] [R] 331 Please specify the password.
[18:33:24] [R] PASS (hidden)
[18:33:24] [R] 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
[18:33:24] [R] connection failed
[18:33:24] [R] trying to reconnect # delay of 1 second after 10 times
Vsftp version 3.0.2
Root @ yimiju :~ # Vsftpd-v
Vsftpd: version 3.0.2

Solution:

Add a line at the end of the vsftp configuration file (/etc/vsftpd. conf:
Allow_writeable_chroot = YES

If you do not want to use vi or vim for editing, run the following command:

# Echo "allow_writeable_chroot = YES">/etc/vsftpd. conf

Restart the vsftpd service:

# Service vsftpd restart

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.