I'm having Ubuntu 12.04 server and I have installed VSFTPD service for FTP.
I'm trying to create a FTP user who has access only to /var/www/ directory and all permissions for sub-directories.
FTPUser should not have access to any root / top level directories and files.
So far I have done following things.
- I have created User called FTPUser1
- I have changed the Home directory for FTPUser1 to /var/www/
- I have edited /etc/vsftpd.conf file and have set chroot_local_user=YES
- Restarted vsftpd service
After doing all these, My FTPuser1 still able to access top level directories and files.
Please let me know, How I can block top level access?