Posted Jan 21, 2008 18:53 UTC (Mon) by egoforth (guest, #2351)
Parent article: Unprivileged mounts
The place where I always seem to need this is for loop devices, particularly for mounting a
ISO images. I could understand if noexec, nosuid, etc. were automatically disallowed, but all
I want is to see the contents. Anyone have a good solution (that doesn't involve sudo)?
With this patch, I'm assuming iso9660 rules would apply, or would/could there be special
handling of the loop option?
Posted Jan 24, 2008 14:25 UTC (Thu) by mszeredi (subscriber, #19041)
[Link]
If you have fuse installed, then there's fuseiso (most distros have it packaged) or mountlo
(http://lkml.org/lkml/2006/2/27/148), which can mount arbitrary file system types.
Kernel based loop mounting would be useful, but first each filesystem's code must be audited,
to make sure they handle any filesystem image, even one specially crafted with malicious
intent. This is a big job, it is much simpler to use some completely userspace solution, like
mountlo.