[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mounting iso file as normal user? (was: dvd burning)



You could probably do it if you changed the permissions to the /dev/loop0 file to your user

find out the permissions of /dev/loop0 with:
$ls -l /dev/ | grep loop0
(you may need to know that to restore the permissions later)
then
# chown yourusername /dev/loop0
# chmod 744 /dev/loop0

then try to mount the image again as your normal user name.  remember you MUST have write access to the directory you are mounting the image to as well.

take a look at permissions, read this article entirely:
http://www.linuxquestions.org/linux/answers/Security/Setting_File_and_Directory_Permission_in_Unix_Linux

one more thing.  adding "ro" to your command is unnecessary.  the file system by default will be read only anyway.

Hope that helps.

--
Ice

On 7/23/06, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
Hi, Debian users.

To mount `image.iso' on `/path/to/dir', I do:

# mount -t iso9660 -o ro,loop=/dev/loop0 image.iso /path/to/dir

. Is it possible, and how?, to do it as normal user?
When I try to, it says:

mount: only root can do that

. Thanks for any help,
Rodolfo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: