http://www.cnblogs.com/bcsflilong/p/4200139.html
Steps
1. Install vsftpd
sudo apt-get install vsftpd
2. backup the config file
sudo cp /etc/vsftpd.conf /etc/vsftpd.conf.old
3. modify The config file
anonymous_enable=NO
local_root=/home/xxx/share
local_enable=yes
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
4. Restart ftp
sudo service vsftpd restart
for more information See links