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()
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.