(E-Mail Removed) wrote:
> Hello,all
>
> I want set ftp access for specific user. The user can only access
> specific directory and cannot access upper level directory. For
> example:
>
> I have
>
> /home/vhosts/likke.com
>
> I like a user to access likke.com but not vhosts. How can I implement
> this ?
>
> Thanks a lot!
>
use vsftpd as ftp daemon
in vsftpd.conf you have
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list