I have just updated to Ubuntu 12.04 LTS from Ubuntu Server 11.10, It updated my vsftpd install, and it seems that something has changed :/ I use PAM authentication, does anyone have any ideas what could have changed to cause this?: When trying to connect to FTP is get this error:
500 OOPS: vsftpd: refusing to run with writable root inside chroot()
I tried googling it, and it said to add allow_writable_root=YES to the config file - however when i try this and try restarting vsftpd it cant restart? :/
Due to the popularity of this question, here is how I actually fixed it:
wget http://http.us.debian.org/debian/pool/main/v/vsftpd/vsftpd_3.0.2-2_amd64.deb
dpkg -i vsftpd_3.0.2-2_amd64.deb
echo "allow_writeable_chroot=YES" >> /etc/vsftpd.conf
service vsftpd reload
