[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Sharing an hfsplus partition between Linux and MacOSX



Dear list,

I just finished installing the kernel 2.6.14 with HFS and HFSPLUS
modules built-in. To my understanding with this kernel it should be
possibile to read and write on Mac HFS extended partitions.

I verified that it is indeed possible but I can do this only with root
permissions and not as a common user.

Below my current fstab, although I tried already several other different
ways to mount the partition. When mounted hfs partitions receives uid
"501" and gid "dialout". Adding this group in /etc/group and the name of
the user as member of the group does not solve the problem.

# /etc/fstab: static file system information.
#
# <file system>	<mount point>	<type>	<options>		<dump>	<pass>
/dev/hda12	/		ext3	errors=remount-ro	0	1
/dev/hda10	none		swap	sw			0	0
/dev/hda13	/home		ext3	defaults		0	1
/dev/hda11	/mnt/rescue	hfsplus	user,auto,rw,nosuid,uid=1000,gid=1000,umask=022	0	0
/dev/hda14	/mnt/shared	hfsplus	defaults,uid=1000,gid=1000,umask=022	0	1
/dev/hda15	/mnt/macosx	hfsplus	noauto,user,ro		0	0
proc		/proc		proc	defaults		0	0
#/dev/fd0	/floppy		auto	user,noauto		0	0
/dev/cdrom	/cdrom		iso9660	ro,user,noauto		0	0


How could I manage to have rw permissions on the partition /mnt/shared
for whichever user?  Moreover, is it a good choice to use hfs+ to share
a partition between linux and MacosX? Alternatively, which could be a
better file system to choose ?

Thank you in advance for the consideration.

Regards,

Marco



Reply to: