I have just updated to Ubuntu 12.04 LTS (Precise Pangolin) from Ubuntu Server 11.10 (Oneiric Ocelot).
It updated my vsFTPd installation, and it seems that something has changed :/ I use PAM authentication. What could have changed to cause this?
When trying to connect to the FTP server I 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 configuration file - however when I try this and try restarting vsftpd it can't restart. Why?
Here is how I actually fixed it:
wget http://http.us.debian.org/debian/pool/main/v/vsftpd/vsftpd_3.0.2-3_amd64.deb -O vsftpd.deb dpkg -i vsftpd.deb echo "allow_writeable_chroot=YES" >> /etc/vsftpd.conf service vsftpd reload
And voila :)