Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 05-22-2005, 02:50 PM   #1
LQ Newbie
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
Mount iso image as user

Hi everyone.

I want my users to able to mount/umount iso images in their own home. example:
$ mount -o loop image.iso ~/iso

But mount won' t let that happens: "mount: only root can do that"

I can't put it in /etc/fstab as the image.iso should be able to be any file...

Any idea ?

Old 05-22-2005, 06:32 PM   #2
Registered: Dec 2004
Location: Washington State, USA
Distribution: Debian Sid
Posts: 128

Rep: Reputation: 16
I haven't tried this, but maybe mount allows mounting symbolic links (to the actual file)? If it does, you could put in fstab the name of the symbolic link, and allow your users to point it to other places, and mount it.

Worth a shot, anyways.
Old 05-23-2005, 04:27 AM   #3
Registered: Apr 2004
Location: Timisoara, Romania
Distribution: Debian
Posts: 90

Rep: Reputation: 15
Set the nosuid bit in fstab anyway, because the .isos may contain suid files and that is not what you'll want...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount a iso image rw? nvadekar Linux - Software 2 11-12-2005 02:01 AM
how to mount an iso image as CD? hkl8324 Linux - General 7 07-05-2005 06:43 AM
mount iso image hassan2 SUSE / openSUSE 3 06-06-2005 05:47 AM
How to mount a shared ISO image...? kolt Linux - General 4 03-01-2004 07:39 PM
mount a .iso or extract a .iso behind user witout access to root easytarget Linux - Newbie 3 09-29-2002 05:01 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration