Ubuntu accessing MacOSX user folder.
Ioannis Vranos
ioannis.vranos at gmail.com
Fri Feb 10 15:56:17 UTC 2012
On Fri, Feb 10, 2012 at 5:52 PM, Dave Woyciesjes
<woyciesjes at sbcglobal.net> wrote:
> On 02/10/2012 10:34 AM, Ioannis Vranos wrote:
>>
>> On Fri, Feb 10, 2012 at 5:11 PM, Dave Woyciesjes
>> <woyciesjes at sbcglobal.net> wrote:
>>>
>>> I've got my MacBook Pro dual booting OSX 10.6 and Ubuntu 11.10.
>>> Now
>>> what I want to do is to be able to use the Documents (and others) folder
>>> in
>>> the OSX user folder (/User/Dave/Documents) with Ubuntu as well.
>>> Yes, there are many how-tos that mention using a third partition
>>> for
>>> this. Since I don't have a lot of extra space (and I'd rather not
>>> anyway); I
>>> need to figure out a good way to get the permissions right...
>>> Since OSX user number is 501, and Ubuntu start at 1001; that's a
>>> bit
>>> of a hiccup.
>>>
>>> One thought I had was to create a group on each os, "crossover"
>>> and
>>> set the groups to have matching numbers as well. Then in Mac OSX I would
>>> give the crossover group rwx permissions on the folder I want access to.
>>> I'd also have to add a line to fstab to get the OSX partition
>>> mounted
>>> automatically as well.
>>>
>>> This all make sense, or am I headed down the wrong (or bad?) path?
>>
>>
>> This sounds like a reasonable approach.
>>
>>
> Created the crossover group in OSX, and added me as a member. Now to
> determine what the group number is. And no, OSX doesn't keep it in
> /etc/group. Already looked in that...
I do not know if Mac OS X provides id, but try it in the terminal:
id user_name
--
Ioannis Vranos
http://cppsoftware.binhoster.com
More information about the ubuntu-users
mailing list