[Bug 48118] Re: pmount should not refuse to mount nonremovable drives without fstab entry
martin.pitt at ubuntu.com
Wed Sep 27 14:03:54 UTC 2006
DeepApple [2006-09-27 10:50 -0000]:
> If user has sudo rights (is in admin group) then pmount (gnome-vfs)
> should allow him to mount hard disk partitions -
If you can do 'sudo pmount /dev/hda2 mylabel', then doing
'sudo mkdir -p /media/mylabel; sudo mount /dev/hda2 /media/mylabel'
(or the more common case 'sudo mount /dev/hda2 /mnt') is not all that
much different, is it?
I am hesitant about introducing such hacks into pmount. pmount is not
meant to be a convenience wrapper around mount, but a policy checking
layer to allow users to do things they cannot do with mount. Poking
holes into that layer makes it much more prone to bugs and
If you have sudo rights, wrapping mount into a gksudo call should be
done in some non-setuid frontend at a higher level.
pmount should not refuse to mount nonremovable drives without fstab entry
More information about the desktop-bugs