Find the answer to your Linux question:
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.
  1. #1
    Just 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.

  2. #2
    Linux 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.

  3. #3
    Just 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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •