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

Re: hfsplus in 2.6.8-1-686 kernel not honoring mount flags?





Peter C. Norton wrote:

In kernel 2.6.8-1-686, setting user, uid, and gid seems to have no
effect on the state of a filesystem.  I would like to have an fstab
entry along the lines of:

/dev/sda        /mnt/ipod       hfsplus user,noauto             0       0

To enable the user (me, when I don't have to be root) to move files
onto and off of the drive.

However, when I do this I get the following:

spacey@jogo:/etc/hotplug$ mount /mnt/ipod
spacey@jogo:/etc/hotplug$ ls -laF /mnt/ipod
ls: /mnt/ipod/.: Permission denied
ls: /mnt/ipod/..: Permission denied
ls: /mnt/ipod/.journal: Permission denied
ls: /mnt/ipod/.journal_info_block: Permission denied
ls: /mnt/ipod/.Trashes: Permission denied
ls: /mnt/ipod/Calendars: Permission denied
ls: /mnt/ipod/Contacts: Permission denied
ls: /mnt/ipod/iPod_Control: Permission denied
ls: /mnt/ipod/Notes: Permission denied
total 0


I've received the same results when passing in the "uid" "gid" or
"user" flags from the mount command and within /etc/fstab.  Is there a
fix for this?
Did you try the umask option? Here is an example in my /etc/fstab:
/dev/hda2       /mnt/winxp      vfat    user,umask=000          0       0

Thanks,

-Peter




Reply to: