Vsftpd: Refusing to Run With Writable Root Inside Chroot

Vsftpd with chroot is a good option. It allows the us to configure ftp root independent

to each account. But problem is that it won’t allow the connection if the root folder is

writeable to the account. This is not in line with the logic. Once the user logs in, he should be

able to read and write as he wish. Why there is need for a technology restriction. I was facing

this issue with vsftpd 2.3.5 build coming with Ubuntu 12.04. After searching the web I am able

to find that  the issue was there  from last one year. The following link help me to resolve the

issue. https://www.benscobie.com/fixing-500-oops-vsftpd-refusing-to-run-with-writable-root-inside-chroot/

The solution is to use either compile vsftpd with modification in the source code or use the

already modified version from Mark.

sudo add-apt-repository ppa:thefrontiergroup/vsftpd
sudo apt-get update
sudo apt-get install vsftpd

And use the following code in the /etc/vsftpd.conf file

allow_writeable_chroot=YES

 

 

 

 

 

 

 

 

 

Leave a Reply