On Mon, Aug 27, 2001 at 05:05:46PM +0200, Sven Garbade wrote: > Hi there, > > is it possible to allow normal users to mount an iso-image (which is in > the home directory)? Normally this must do root. > > Thanks, Sven >
I do this all the time. Here is how: Decide in advance the filename that users must use for their CD image (e.g. /home/xxx/mycd.iso). If users have more than one file they can rename before mounting. Also decide in advance where the cds will be mounted (e.g. /home/xxx/mycd). Now (as root) edit /etc/fstab to contain lines like (line split for e-mail) # <file system> <mount point> <type> <options> <dump> <pass> /home/xxx/mycd.iso /home/xxx/mycd iso9660 async,noauto,iocharset=iso8859-1,nodev, noexec,nosuid,user,ro,conv=binary,loop 0 0 with this in place, users can simply mount and unmount the images. NOTE: ALL USERS CAN SEE AND MOUNT ALL OTHER USERS CDS with this method, but it is easy. -- This message is hastily written, please ignore any unpleasant wordings, do not consider it a binding commitment, even if its phrasing may indicate so. Its contents may be deliberately or accidentally untrue. Trademarks and other things belong to their owners, if any.