Can I prevent users from seeing dir contents?
Is there a way that I can prevent other users from seeing outsider directories?
For example if I have the following /home/usera /home/userb Is there a way I can prevent userb from being able to change to /home/usera ? If not is there a way at least I can prevent userb from being able to any of the file contents in /home/usera/ ? |
|
Yep, just change permissions to allow only the owner of that directory to view it.
|
the command to do that could be
chmod 700 /home/usera which you would have to run as user a or root |
Thanks for the response all. I ended up doing it with chmod o= /home/usera
Is chmod 700 /home/usera the numerical equivilant? |
No, you'd need go= to get the equivalent of numeric 0700.
|
All times are GMT -5. The time now is 02:43 PM. |