hide folders from other users

Discussion in 'macOS' started by zoran, Aug 27, 2012.

  1. zoran macrumors 68030

    Joined:
    Jun 30, 2005
    #1
    Im am admin user on my computer and i want to be able to hide folders located on MacHD from other users that are on my mac, how do i do it?
     
  2. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #2
    Set up a separate user account for anyone using your Mac. They won't have access to your user files.
     
  3. simsaladimbamba

    Joined:
    Nov 28, 2010
    Location:
    located
    #3
    Which folders? As you know, normally preferences/settings and your documents are inside your home folder, thus the folders outside of it are for the OS and other users.
    Anyway, have you tried limiting access or hiding them via Terminal (though it might not work with system folders)?
     
  4. heisenberg123 macrumors 603

    heisenberg123

    Joined:
    Oct 31, 2010
    Location:
    Hamilton, Ontario
    #4
    when you say other users to you mean just other people that use it signed in as you? or do you mean people signed in as different "users"
     
  5. zoran thread starter macrumors 68030

    Joined:
    Jun 30, 2005
    #5
    people signed in as different users, the folders are placed on the Macintosh HD
     
  6. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #6
    If you put them in the /Users/yourusername folder, they won't be accessible to others.
     
  7. zoran thread starter macrumors 68030

    Joined:
    Jun 30, 2005
    #7
    Isn't there some way to hide them using the GetInfo command?
     
  8. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #8
    No, there isn't.
     
  9. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #9
    Tell me what kind of folders you are trying to hide? It might be possible to place them inside a encrypted disk image. Give this a look.
     
  10. zoran thread starter macrumors 68030

    Joined:
    Jun 30, 2005
    #10
    Thanx but i don't want to change the location of the folders because i don't want time machine to get "messed up" (i suppose that it will start to make new backups if those folders are relocated right?).

    Im trying to find the easiest possible way without any folder disordering what soever!
     
  11. heisenberg123 macrumors 603

    heisenberg123

    Joined:
    Oct 31, 2010
    Location:
    Hamilton, Ontario
    #11
    that is the easiest way and time machine will not get confused messed up either
     
  12. zoran thread starter macrumors 68030

    Joined:
    Jun 30, 2005
    #12
    I have created folders in MacintoshHD/Users/myname/ and they can be seen by standard users!
     
  13. heisenberg123 macrumors 603

    heisenberg123

    Joined:
    Oct 31, 2010
    Location:
    Hamilton, Ontario
    #13
    really?

    users/yourname should only be seen when yourname is logged in
     
  14. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #14
    Time Machine won't have problems if you put user data in the proper folders. Your user files/folders should be under your user account, anyway. That's the way Mac OS X is designed to work.
     
  15. zoran thread starter macrumors 68030

    Joined:
    Jun 30, 2005
    #15
    Yeah they can be seen, they are folders i have added in my user name folder, it prolly is strange cause other folders (downloads, documents etc) have the red minus sign on and you cannot see inside! :confused:
     
  16. simsaladimbamba

    Joined:
    Nov 28, 2010
    Location:
    located
    #16
    Checked permissions of those folders yet?

    How to Set File Permissions in Mac OS X
     
  17. zoran thread starter macrumors 68030

    Joined:
    Jun 30, 2005
    #17
    what exactly must i do with permissions?
    here is an example of one of my folders
     

    Attached Files:

  18. simsaladimbamba

    Joined:
    Nov 28, 2010
    Location:
    located
    #18
    You must set READ & WRITE to your user account only. As those folders where originally located in the Macintosh HD root directory, they have read & write permissions for all users (since they are not system files/folders).
    Is that understandable?

    As you can see, from your screenshot, everyone can read it. The group "staff" is okay, since those are admins as far as I know and not standard users.
     
  19. zoran thread starter macrumors 68030

    Joined:
    Jun 30, 2005

Share This Page