Red Hat Bugzilla – Bug 235708
Hal mounts vfat filesystems with root ownership
Last modified: 2013-03-05 22:49:57 EST
Description of problem:
Not sure if this is hal or gnome-mount at fault, however when using a non-root
user, automounted drives always have root as owner and group and as a result the
drive is unwritable.
I have an ext3 filesystem with a directory owned by my regular user, and that
works fine although any vfat filesystem turns up with root/root as owner/group
with 755 permissions on all files, so the drivers are unwritable.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Mount a vfat volume
It's unwritable, root/root 755
The drives are writable (user/user 755)
My Fedora Core 7 Test3, upgraded to devel, has this problem too. I seem to
remember that this wasn't the case in the clean FC7Test3 install -- I could be
incorrect though. So I downgraden: kernel, udev (hadn't changed), gnome-mount,
hal(-libs) to the test3 version, but no change.
/dev/sdb1 on /media/CRUZER type vfat (rw,nosuid,nodev,uhelper=hal)
This should contain: uid=userid(or username) I believe. In Ubuntu Feisty this
dev/sdb1 on /media/CRUZER type vfat
.. enabling user 1000 to write to the device.
This is the case with external-usb-disks and sticks.
I have tried disabling selinex with no effect.
I'm posting here from the FC Test3 i386 Live cd. And I can confirm that it works
here. My vfat USBstick mounts correctly as the currently logged in user: 'fedora'.
/dev/sdb1 on /media/CRUZER type vfat
Btw, this is a duplicate of bug 234716
*** This bug has been marked as a duplicate of 234716 ***