Ubuntu accessing MacOSX user folder.

29 views
Skip to first unread message

Dave Woyciesjes

unread,
Feb 10, 2012, 10:11:55 AM2/10/12
to Ubuntu user technical support, not for general discussions
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?

--
--- Dave Woyciesjes
--- ICQ# 905818
--- AIM - woyciesjes
--- CompTIA A+ Certified IT Tech - http://certification.comptia.org/
--- HDI Certified Support Center Analyst - http://www.ThinkHDI.com/
Registered Linux user number 464583

"Computers have lots of memory but no imagination."
"The problem with troubleshooting is that trouble shoots back."
- from some guy on the internet.

--
ubuntu-users mailing list
ubuntu...@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Ioannis Vranos

unread,
Feb 10, 2012, 10:34:54 AM2/10/12
to Ubuntu user technical support, not for general discussions
On Fri, Feb 10, 2012 at 5:11 PM, Dave Woyciesjes
<woyci...@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.


--
Ioannis Vranos

http://cppsoftware.binhoster.com

Dave Woyciesjes

unread,
Feb 10, 2012, 10:52:17 AM2/10/12
to Ubuntu user technical support, not for general discussions
On 02/10/2012 10:34 AM, Ioannis Vranos wrote:
> On Fri, Feb 10, 2012 at 5:11 PM, Dave Woyciesjes
> <woyci...@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...

--
--- Dave Woyciesjes
--- ICQ# 905818
--- AIM - woyciesjes
--- CompTIA A+ Certified IT Tech - http://certification.comptia.org/
--- HDI Certified Support Center Analyst - http://www.ThinkHDI.com/
Registered Linux user number 464583

"Computers have lots of memory but no imagination."
"The problem with troubleshooting is that trouble shoots back."
- from some guy on the internet.

--

Ioannis Vranos

unread,
Feb 10, 2012, 10:56:17 AM2/10/12
to Ubuntu user technical support, not for general discussions
On Fri, Feb 10, 2012 at 5:52 PM, Dave Woyciesjes

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

--

Wes James

unread,
Feb 10, 2012, 11:03:24 AM2/10/12
to Ubuntu user technical support, not for general discussions

Dave Woyciesjes

unread,
Feb 10, 2012, 11:04:32 AM2/10/12
to Ubuntu user technical support, not for general discussions
Sweet! Thanks. This message is getting flagged as a keeper...


--
--- Dave Woyciesjes
--- ICQ# 905818
--- AIM - woyciesjes
--- CompTIA A+ Certified IT Tech - http://certification.comptia.org/
--- HDI Certified Support Center Analyst - http://www.ThinkHDI.com/
Registered Linux user number 464583

"Computers have lots of memory but no imagination."
"The problem with troubleshooting is that trouble shoots back."
- from some guy on the internet.

--

Dave Woyciesjes

unread,
Feb 10, 2012, 11:45:16 AM2/10/12
to Ubuntu user technical support, not for general discussions
(corrected the previous top-posting)

Thanks much. Added to notes....

Dave Woyciesjes

unread,
Feb 10, 2012, 1:28:55 PM2/10/12
to Ubuntu user technical support, not for general discussions
In my goofing around, I discover that the MacOSX group "staff", which
is the default group that the user's files are a part of; the number for
that maps to the "dialout" group in Ubuntu. So I don't need to create a
matching groups in each OS.
I can use the standard MacOSX methods of giving the "staff" group the
desired permissions.
Added a line to fstab to automount the mac partition, and added the
force option to get RW.

I've seen a few old posts about getting Mac to read ext4, but none of
them give me the warm fuzzies enough to try them. Anyone have any
experience with a particular method?

Reply all
Reply to author
Forward
0 new messages