I have ftp server running on my raspberry pi and I have to users there I want to limit one user's access only to his home folder (/home/user), so when he logs in via ftp he can't go to other folders only his home folder and folders inside his home folder.
Users can be limited to their home directories by uncommenting /etc/vsftpd.conf file:
To limit a specific list of users, allow only their home directories:
Set User HOME Directory:
usermod --home /home/user username
Set required permission on /home/user
Restart ftp services: