mounting loop back filesystems as non-root?

Net Llama! netllama
Mon Feb 20 14:12:15 PST 2006


On 02/20/2006 10:42 AM, Bill Campbell wrote:
> On Mon, Feb 20, 2006, Net Llama! wrote:
>>I've got some CD ISO images that I'd like to mount occasionally.  The 
>>problem i'm having is that only root can do it.  After googling there 
>>were some folks who worked around this with sudo, but i'd really prefer 
>>not to use sudo if it can be avoided.  Does anyone know of any means of 
>>doing this as a non-root user?  thanks.
> 
> I haven't tried it, but you might use a standard file name and mount point
> for the ISOs you want to mount, and put an entry in /etc/fstab to allow
> this.

thanks Bill, this does work in fstab:
/home/david/stuff/BigActionConstruction.iso     /mnt/tmp  iso9660 
loop,noauto,users,exec 0 0

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
LlamaLand		 		http://netllama.linux-sxs.org

  11:00:01 up 9 days, 12 min,  2 users,  load average: 0.31, 0.41, 0.34


More information about the Linux-users mailing list