Bug 235708 - Hal mounts vfat filesystems with root ownership
Hal mounts vfat filesystems with root ownership
Status: CLOSED DUPLICATE of bug 234716
Product: Fedora
Classification: Fedora
Component: gnome-mount (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Zeuthen
Depends On:
  Show dependency treegraph
Reported: 2007-04-09 14:56 EDT by Stewart Adam
Modified: 2013-03-05 22:49 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-12 12:42:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Stewart Adam 2007-04-09 14:56:16 EDT
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):

How reproducible:

Steps to Reproduce:
1. Mount a vfat volume
Actual results:
It's unwritable, root/root 755

Expected results:
The drives are writable (user/user 755)

Additional info:
Comment 1 Steven Op de beeck 2007-04-11 11:50:30 EDT

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
looks like:
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.
Comment 2 Steven Op de beeck 2007-04-12 12:09:00 EDT
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'.

from mount:
/dev/sdb1 on /media/CRUZER type vfat

Comment 3 David Zeuthen 2007-04-12 12:42:15 EDT
Btw, this is a duplicate of bug 234716

*** This bug has been marked as a duplicate of 234716 ***

Note You need to log in before you can comment on or make changes to this bug.