Does pmount honor mount_root?
Martin Pitt
martin at piware.de
Mon Oct 24 10:00:19 PDT 2005
Hi Artem!
Artem Kachitchkine [2005-10-24 9:04 -0700]:
> >Normal users aren't supposed to specify a random directory.
>
> Is my understanding correct that this is not a security issue, but one
> of standards compliance (FHS)?
It is a security issue; you would not want an user mounting his USB
stick over /usr, /tmp, /home, or other sensitive directories. pmount
already checks that nothing else is mounted on the target mount point,
though, but better safe than sorry. :-)
Right now the /media path is hardcoded into the .c files; since pmount
is now autotoolized, I can make this a configure option, but the use
case of changing this patch is not big enough to justify adding a
runtime option (and introduce more bugs :-) ).
Thanks,
Martin
--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntu.com
Debian Developer http://www.debian.org
In a world without walls and fences, who needs Windows and Gates?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/hal/attachments/20051024/701ef56d/attachment.pgp
More information about the hal
mailing list