hide folders from other users

zoran

macrumors 68040
Original poster
Jun 30, 2005
3,186
47
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?
 

GGJstudios

macrumors Westmere
May 16, 2008
44,419
758
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?
Set up a separate user account for anyone using your Mac. They won't have access to your user files.
 
Nov 28, 2010
22,684
27
located
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)?
 

zoran

macrumors 68040
Original poster
Jun 30, 2005
3,186
47
people signed in as different users, the folders are placed on the Macintosh HD
 

zoran

macrumors 68040
Original poster
Jun 30, 2005
3,186
47
Isn't there some way to hide them using the GetInfo command?
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
29,643
9,266
California
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?
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.
 

zoran

macrumors 68040
Original poster
Jun 30, 2005
3,186
47
If you put them in the /Users/yourusername folder, they won't be accessible to others.
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!
 

heisenberg123

macrumors 603
Oct 31, 2010
6,498
9
Hamilton, Ontario
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!
that is the easiest way and time machine will not get confused messed up either
 

zoran

macrumors 68040
Original poster
Jun 30, 2005
3,186
47
I have created folders in MacintoshHD/Users/myname/ and they can be seen by standard users!
 

GGJstudios

macrumors Westmere
May 16, 2008
44,419
758
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?).
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.
 

zoran

macrumors 68040
Original poster
Jun 30, 2005
3,186
47
really?
users/yourname should only be seen when yourname is logged in
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:
 
Nov 28, 2010
22,684
27
located
what exactly must i do with permissions?
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.