how to set up vsftp user:

*) create dir /data/ftp/e-results
*) create new user with home dir = /data/ftp/./e-results # dot is flag to vsftpd to chroot jail 'ftp' dir
*) /data/ftp = raj:users 055 (not writeable)
*) /data/ftp/e-results = results:users 770
*) vsftpd.conf (defaults except chroot_local_user & passwd_chroot_enable):

listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
passwd_chroot_enable=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem
