Results 1 to 3 of 3
I am quite new to Linux user policies that's why I've got this question. For example, I've created a user named testuser with his home directory located at /home/testuser/ How ...
- 09-09-2008 #1Just Joined!
- Join Date
- Aug 2008
- Posts
- 6
Linux User Viewing Permissions
I am quite new to Linux user policies that's why I've got this question. For example, I've created a user named testuser with his home directory located at /home/testuser/ How do I deny viewing other directories by this user that are located outside his home directory?
- 09-09-2008 #2
I don't think you can bar specific users from seeing a file. You can make files and directories inaccessible to the "world", and they will then only be accessible to their owner and perhaps others in his/her group, but you can't easily exclude one user and not others. Perhaps if you put all your other users in a special group (excluding testuser) and assigned the relevant directories to this group...
"I'm just a little old lady; don't try to dazzle me with jargon!"
- 09-09-2008 #3
Users need to read many files and directories outside their /home otherwise they would not be able to login, create temporary files, etc. You can use user and group permissions to restrict access to certain directories, but you can't confine them to their home directory without causing problems.


Reply With Quote