[oclug] Mount a file on the loopback as a user?

Bart Trojanowski bart-oclug at jukie.net
Fri Jul 9 08:32:59 EDT 2004


* Bart Trojanowski <bart-oclug at jukie.net> [040708 20:24]:
> * Derek T. Murphy (Home) <derekm at NightTiger.ca> [040708 15:14]:
> > Given an ISO9660 image file called isoimage.iso:
> > 	mount -t iso9660 -o loop=/dev/loop/loop1 isoimage.iso /mnt/iso
> > works to mount the image on /mnt/iso if given as root.
> > 
> > Is there any way to allow _users_ to do something similar? Adding a line
> > to /etc/fstab such as
> >     /dev/loop1 /mnt/iso  iso9660 user,noauto,owner,ro  0   0
> > doesn't work for me... Neither did changing ownership of /dev/loop1 ...
> 
> You're close, this should work...
> 
> /full/path/isoimage.iso /mnt/iso loop,user,noauto 0 0

oops! forgot the fs type.

/full/path/isoimage.iso /mnt/iso iso9660 loop,user,noauto 0 0

-- 
				WebSig: http://www.jukie.net/~bart/sig/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20040709/9d894b5a/attachment.bin


More information about the OCLUG mailing list