This tutorial teaches you, how to setup vsftpd server on Linux based dedicated Web server. The tutorial also teaches you how to add the ftp users and lock the directory to individual users(In this scenario,lock the users into their individual web directory).
In Ubuntu 12.04, vsftpd with chrooted users gives the following error message:
500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
To overcome this problem, we need to add the following vsftpd PPA:
sudo add-apt-repository ppa:thefrontiergroup/vsftpd