I’m using ftp service in centOS 6.10. I try to restrict a user such that he can only download data from /data from my server. I have searched a lot for this but found nothing.
Here’s my vsftp config file
anonmynous_enable=NO
local_enable=YES
download_enable=YES
local_umask=022
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
listen=YES
pam_service_name=vsftpd
tcp_wrappers=YES
local_root=/data
I created some files and folders in /data and when I am connected to server by FileZilla, this is the result: enter image description here
enter image description here
Any suggestion ?