Hi,

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
vulnerabilities.

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
https://launchpad.net/bugs/48118

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to