Stephen Gran on 16 Nov 2006 22:56:35 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] loopback mounting fs images


On Thu, Nov 16, 2006 at 05:24:07PM -0500, Jeff Abrahamson said:
> Mount in general denies its services to non-privileged users unless
> explicit authorization is made in /etc/fstab.
> 
> I'd like to be able to mount filesystem images from an already mounted
> filesystem without having to authorize myself specially.  I don't
> think this is possible, but I'm curious (1) if I'm wrong and it is
> possible, and (2) what the security concerns of this would be as long
> as mount restricted me to mounting files I own on mount-points I own
> and didn't permit files in the newly mounted fs to have permissions or
> ownership that I couldn't otherwise give them.

pmount does this sort of thing (it's designed for removable devices, not
filesystem images, but i tmight be extendable) but it has to be suid to
make this work.  I imagine any such thing would have to be, so it's
really either suid or sudo, and I'd really rather sudo, personally.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | I didn't like the play, but I saw it    |
|  steve@lobefin.net             | under adverse conditions.  The curtain  |
|  http://www.lobefin.net/~steve | was up.                                 |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug