Report this

What is the reason for this report?

vsftpd: refusing to run with writable root inside chroot()

Posted on July 27, 2013

I have installed vsftpd on my Ubuntu 12.04 x32 I have set up vsftpd.conf and uncommented local_enable=YES and write_enable=YES and chroot_local_user=YES (both of them).

I had already installed apache server in /home/var/www/

so I did a chown root:root /var/www/

When I try to login with the root username and password to the ftp server. I get the error vsftpd: refusing to run with writable root inside chroot()



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I have no idea how to do that. I’m googling it, no luck so far.

I’v added allow_writeable_chroot=YES to the end of the vsftp.conf file, located on /etc/

How can I check them? <br>I’m not very experienced with this, sorry.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.