I have a user who I only want to be able to access /var/www/ucp/ (his home directory). I have executed the following command on the / directory, the /var/ directory and the /var/www/ directory: chmod o-rwx ~However, when I connect to this user via SSH, they can still navigate out of the /var/www/ucp/ directory. I do not want them to be able to access any other directory at all, but I do want them to have full access to everything inside /var/www/ucp/.How can I do this?
Preventing user from accessing parent folders
shell;ssh;permissions;chmod