I'm looking for a possibility to restrict access of a user to his homedirectory and some several other folders with data.
/home/user1, /data/media
to realize that is not a big deal, but how can I prohibit that user1 is not able to look into other folders or files? e.g by default all users have permission to browse nearly all directories and files.
e.g. is there a possibility prohibit that user1 is able to see its folder but is not able to browse through /etc, /opt and so on?
otherwise he would be able to look into config files what we really want to prohibit...
we tried with the chroot, but in this methot he would only be able to see his homefolder...
Many thanks