hfs access problems

Andreas Stein yellowdog-general@lists.terrasoftsolutions.com
Tue May 27 09:24:01 2003


> >  > One of my Problems:
> >>  I start KDE as a User and mount my hfs partition in a terminal with
> >>  "mount -t hfs /dev/hda10 /mnt" as su. After this I start Konqueror and
> >>  open my /mnt device but there is nothing to see. No file no device.
> >>
> >
> >I would suggest to create a separate directory in /mnt that you will use as
> >a so called 'mountpoint' (There already is directory in /mnt called /cdrom!)
> >
> >As root (su):
> >
> >mkdir /mnt/macos (for example)
> >
> >then as root (su) too (only root can mount devices in a terminal session
> >imho)
> >
> >mount -t hfs /dev/hda10 /mnt/macos
> >
> >Now you might change the owner priviliges of /mnt/macos to your user
> >account:
> >
> >chown -R /mnt/macos
> 
> I just went through this very thing and here's the only way I could 
> figure out to solve it.  When you mount the partition, mount it 
> thusly:
> 
> mount -t hfs -o umask=000 /dev/hda10 /mnt/macos
> 
> The fstab entry would look something like this:
> 
> /dev/hda10          /mnt/macos          hfs          umask=000          1  2
> 
> If you want to make it read-only, replace "umask=000" with 
> "umask=222" (this will still allow execution, necessary to traverse 
> directories).
Hi Alan!

Thats it! Everything works fine.

Thanks a lot for this hint


Andreas