New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

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


Post Reply New Thread Subscribe

 
Thread Tools
ImacEma

 
Member Since: Apr 11, 2013
Posts: 2
ImacEma is on a distinguished road

ImacEma is offline
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!
QUOTE Thanks
Raz0rEdge

 
Raz0rEdge's Avatar
 
Member Since: Jul 17, 2009
Location: MA
Posts: 7,737
Raz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant future
Mac Specs: 27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3

Raz0rEdge is offline
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..

--
Regards
...Ashwin



Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.
QUOTE Thanks
ImacEma

 
Member Since: Apr 11, 2013
Posts: 2
ImacEma is on a distinguished road

ImacEma is offline
Quote:
Originally Posted by Raz0rEdge View Post
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
QUOTE Thanks
Raz0rEdge

 
Raz0rEdge's Avatar
 
Member Since: Jul 17, 2009
Location: MA
Posts: 7,737
Raz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant future
Mac Specs: 27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3

Raz0rEdge is offline
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?

--
Regards
...Ashwin



Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.
QUOTE Thanks

Post Reply New Thread Subscribe


« .m4a changes to .mp3? | Error message when running .dmg »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Glaring Privacy Hole in Home Folder (Everyone can see self created folders) andy06 OS X - Operating System 12 02-18-2012 01:49 AM
Finder gives odd search results for created date danitaz OS X - Operating System 1 12-10-2008 03:30 PM
Imaging 2 Partitions MacDaddy Schweb's Lounge 2 04-20-2006 12:53 AM
partitions partitions partitions! phaedon Apple Notebooks 2 06-06-2005 10:55 AM

All times are GMT -4. The time now is 04:27 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?