You are not logged in.
Pages: 1
Hi, I just installed my new custom kernel with hfs+ support
Here is my fstab entry : /dev/sda2 /media/MACINTOSH_HD hfsplus rw,exec,auto,uid=1000,gid=100 users 0 0
When i am root I have full acces to the harddriver but as a user i cant acces to some of my content in my Users directory.
What shoud I do to change that ? I dont kow if changing the chmod under macos X is a good idea...
Offline
This fstab entry looks buggy to me, since there's a missing , between gid=1000 and users.
Offline
Yes I noticed when the kernel restarted in emergency mode, but beside that why is root allowed to read all content and not me ? what groupe should I be in ? disk ? I ve tried to be in storage group vut didnt help. And disk seems to be a groupe that has too many rights.
Offline
Leaving aside the /etc/fstab entry bug pointed out by sekret, HFS+ is a Unix-style filesystem, and so the uid= and gid= options are essentially useless with it. (According to the documentation, those options work, but they only affect files that don't have explicitly-set owners and groups.) Instead, you must rely on matching your Linux and Mac OS X UID and GID values. I wrote a rather lengthy response to a question about this on another site recently, so I'll just link to it:
Offline
Thank you for your help, however my suystem seemed to run differently and ram was highly used.
I did log out from my user account before i did that but apparently they where still a process that was using my user account.
Well i put back everything in uid 1000 and the system became stable again.
I will have a look at groups id and do it properly next time.
Offline
You may not want write access at all unless you are not using journalling on the HFS+ partition. (Basically because this can cause filesystem corruption as I understand it.) Read access is a different matter.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Pages: 1