Archive for novembre, 2013

add user vsftp into www directory

follow this steps:

# useradd -g www-data -d /var/www/project user
# passwd user
# chown :www-data /var/www/project -R

i’ve setted this option into vsftp.conf


chroot_local_user=YES
chroot_list_enable=YES
allow_writeable_chroot=YES
local_umask=022
write_enable=YES
anonymous_enable=NO