Red Hat Bugzilla – Bug 70503
updfstab: add config parameter to allow users to mount/umount devices
Last modified: 2014-03-16 22:29:39 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020710
Description of problem:
I found trouble trying to use plugable devices like USB ZIPDrive or digital
cameras while not logged in console, updfstab by default adds a line to fstab
with the option "owner". (I wrote a small patch for this, I will submit them
after this report).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Logout from console...
2.Connect any hotplug device(I use USB Zipdrive250, Sony Cybershot DSC-P30)
3.Get a non console shell to machine. (Network, Serial Terminal)..
Actual Results: Since no one is logged at the console, the owner of the console is
"root", so normal users can't mount/umount device.
Expected Results: Under some circumstances, it would be helpful to give users
to mount/umount hotplug devices.
I have been doing tests with RedHat-7.3 and the rawhide version
Created attachment 68325 [details]
Patch against kudzu-0.99.63-4, add user access to mount/umount hotplug devices
I'm having the same problem with my USB removable devices. I'm
finding that the scsi drivers for cdrom's (sr_mod) will chown the
device such that the "owner" directive in fstab is appropriate, but
that the usb/hdd drivers (sd_mod) don't. Thus, I can only mount and
unmount from the user interface.
I really like the patch that Jhon wrote, but it doesn't seem to have
been included in the relase version of Kudzu, since I'm running
1.1.68, and the user directive is not supported.
As updfstab is no longer used in current releases (removable media mounting is
done via HAL, fstab-sync, and gnome-volume-manager), changes to updfstab will
almost certainly not be addressed.