Results 1 to 3 of 3
Hi all,
I was wondering is there a way to hide a directory/file from others. I know how to set premissions and change attributes, but what I would really like ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-19-2004 #1Just Joined!
- Join Date
- Jul 2004
- Location
- Sarajevo
- Posts
- 15
Security question
Hi all,
I was wondering is there a way to hide a directory/file from others. I know how to set premissions and change attributes, but what I would really like is to hide the directory from a certain group.
- 07-19-2004 #2Linux Newbie
- Join Date
- Jul 2004
- Location
- www.syracuse.com
- Posts
- 119
the only way i know of how to hide a file is by putting a '.' in front of the name. for instance ~/.mplayer or ~./gaim are hidden config files. so if you were to type just ls in your home directory they would not be listed. but if you type ls -a they would be listed. as for making something totally invisible to someone, i don't think you can do that directly. you can just place the files in a directory that they dont have read rights too. then they can't see the contents in it, but they can still see the directory.
- 07-19-2004 #3Just Joined!
- Join Date
- Jul 2004
- Location
- Sarajevo
- Posts
- 15
I knew about placing a . in front of the file name / directory name... I want to know if there is another way to hide it...


Reply With Quote
