i've created 2 partitions...but isn't any privacy...

Joined
Apr 11, 2013
Messages
2
Reaction score
0
Points
1
Hi guys!!! i'm a new member of forum...i'm italian and i can't write english too well...i hope you understand me anyway...So,i have a problem...I've installed on the same imac 2 copy of mountain lion,each copy in a different partition...my problem is that when using Finder of first ML i can see the files of the second one...Where is the safety?? i divide my mac with my brother...there is any solution to solve?
i'm waiting any idea...thank U!
 
OP
Raz0rEdge

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,764
Reaction score
2,103
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Welcome to Mac-Forums..

Don't worry about your English, your question is easily understood..

I don't think you want to go through the hassle of creating two installations of Mountain Lion. Since they are both using the same type of filesystem, they will be visible to each other. This is just like if you plug in a USB flash drive formatted in HFS, it will show up as another drive.

If you want to share a single computer with multiple people, what you should do is create multiple accounts..

Each account will have access to it's own home directory and the other account will be kept out unless one wishes to share the data. That's where you separation is going to come from.

Now, of course, if you and your brother have administrator privileges, then you can see each others files..
 
Joined
Apr 11, 2013
Messages
2
Reaction score
0
Points
1
Welcome to Mac-Forums..

Don't worry about your English, your question is easily understood..

I don't think you want to go through the hassle of creating two installations of Mountain Lion. Since they are both using the same type of filesystem, they will be visible to each other. This is just like if you plug in a USB flash drive formatted in HFS, it will show up as another drive.

If you want to share a single computer with multiple people, what you should do is create multiple accounts..

Each account will have access to it's own home directory and the other account will be kept out unless one wishes to share the data. That's where you separation is going to come from.

Now, of course, if you and your brother have administrator privileges, then you can see each others files..
I've decided to set 2 identical system 'cause in june i would upgrade to next system,my brother not...so i was forced to do this...and i serch to solve the situation
 
OP
Raz0rEdge

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,764
Reaction score
2,103
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Well for one thing the next version of OS X hasn't been announced yet..:)

And as to how to keep the two installation separate..I imagine this is what is happening..

You created two installations of OS X and in each you create just a single user, one on your installation and one for your brother on his. Now OS X being a Unix-based operating system uses UID (User ID) and GID (Group ID) to determine access permissions to files/directories..

So if open up a Terminal window and type in 'id', you will see:
Code:
uid=501(ashwin) gid=20(staff)  groups=20(staff),402(com.apple.sharepoint.group.1),12(everyone),33(_appstore),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),100(_lpoperator),204(_developer),401(com.apple.access_screensharing)
Note that my UID is 501, and GID is 20. If you run this command on both of your installations, my guess is that you will get back 501 and 20 as the two values though the usernames might be different.

Technically, OS X doesn't care about the usernames, just the UID/GID, so since they likely match, it assumes either account on the either installation of OS X can access the other. If the UID were different, then you would still be able to see a lot of folders in either installation, including the home directory under /Users/<username> and the only way to change that is to reset the directory permissions.

Right now, my home directory is:
Code:
drwxr-xr-x+ 84 ashwin  staff   2856 Apr 10 09:30 ashwin
The drwxr-xr-x means, [d]irectory, [r]ead, [w]rite and [e]xecute for owner (me), read and execute for group (staff) and read and execute for other (everyone else).

If I wanted to restrict access just to myself, I'd change the permissions with
[CODE
chmod 700 /Users/ashwin
[/CODE]

This would change the permissions to:
Code:
drwx------+ 84 ashwin  staff   2856 Apr 10 09:30 ashwin
Now you'd have to do something like this for every folder that you didn't want the other installation to see and so on..and all of this hinges on the fact that you have to ensure the two user accounts have different UIDs..

A bit complicated, eh? :)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top