FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 04-24-2008, 02:12 AM
"Mike Mazur"
 
Default Help with mounting an ISO file as non-root

Hi,

I'd like to mount an ISO image from the command line as non-root user.
Here are my attempts, each failing with the "only root can do that"
error message:

$ mount -o loop image.iso /mnt/
mount: only root can do that
$ mount -o user,loop image.iso /mnt/
mount: only root can do that
$ mount -o users,loop image.iso /mnt/
mount: only root can do that
$ mount -o user -o loop image.iso /mnt/
mount: only root can do that
$ mount -o users -o loop image.iso /mnt/
mount: only root can do that

I keep reading about how the mount and umount commands need the suid
bit set, which it already is:

$ ll /bin/mount /bin/umount
-rws--x--x 1 root root 51480 2008-04-10 14:11 /bin/mount
-rws--x--x 1 root root 34584 2008-04-10 14:11 /bin/umount

Furthermore, adding the following line to my /etc/fstab allows me to
mount the image as non-root:

/path/to/image.iso /mnt/ udf,iso9660 user,loop 0 0

However, this is not an option for me as I work with different
images/mount points all the time.

What can I do to be able to mount an arbitrary ISO image to an
arbitrary mount point from the command line as non-root user?

Thanks!
Mike
--
gentoo-user@lists.gentoo.org mailing list
 
Old 04-24-2008, 02:22 AM
Norberto Bensa
 
Default Help with mounting an ISO file as non-root

Quoting Mike Mazur <mmazur@gmail.com>:



What can I do to be able to mount an arbitrary ISO image to an
arbitrary mount point from the command line as non-root user?


fuse-iso ?


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


--
gentoo-user@lists.gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 12:56 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org