I found out about
fuseiso a while ago but I need to mount UDF images, and it seems like
fuseiso doesn't support it after failed attempts on my part to mount a UDF image with it. I need to be able to do this as a regular user for arbitrary images and I have to be able to unmount them as well, preferably with the mount-points scoped within a particular user directory (assuming that's not a problem, e.g.
/home/user/mounted/*), so directly using
mount doesn't work. Is there a way to accomplish this?
I'm on Ubuntu and while investigating this I found out about
pmount but it seems like it doesn't fit my needs because 1) I'm trying to mount an
.iso file and not a
/dev block device 2) I wouldn't be able to mount it at a user location (so I could then unmount it as a user, such as by using
fusermount -u if it were a fuse fs).
POLICY The mount will succeed if all of the following conditions are met: · device is a block device in /dev/ · device is not in /etc/fstab (if it is, pmount executes mount device as the calling user to handle this transparently). See below for more details. · device is not already mounted according to /etc/mtab and /proc/mounts · if the mount point already exists, there is no device already mounted at it and the directory is empty · device is removable (USB, FireWire, or MMC device, or /sys/block/drive/removable is 1) or whitelisted in /etc/pmount.allow. · device is not locked
What are any options I have? In the worst and most discouraged case I imagine as a final resort I would be able to write a custom setuid script to accomplish this? I'm hoping I don't have to risk that though.