Re: Loopback as user
From: bd (bdonlan_at_bd-home-comp.no-ip.org)
Date: 07/12/03
- Next message: Dave Uhring: "Re: "Bugbear" virus in Linux?"
- Previous message: Buck Turgidson: "Mac GUI"
- In reply to: Thomas Güttler: "Re: Loopback as user"
- Next in thread: Lee Sau Dan: "Re: Loopback as user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 11 Jul 2003 19:56:36 -0400
On Fri, 11 Jul 2003 11:00:34 +0200, Thomas Güttler wrote:
> davide@yahoo.com wrote:
>
>> Thomas G?ttler <guettler@thomas-guettler.de> wrote:
>>> Is it possible to set a loopback device for mounting
>>> iso images as non root?
>>
>> I think you have to change the permission on the loop devices, or
>> use sudo (maybe faster)
>>
>> Davide
>
> That's sad. I would like do without getting root once.
>
> cd /var/tmp; mknod loop b 7 0
> does not work, too.
>
> "man mknod" does not say anything about permissions.
> Can only root create block devices?
Of course. If users could, they could create a user-writable block dev for
the hard drive. In addition, only root can mount (except user mounts in
/etc/fstab), as otherwise a user could mount over /, or mount a volume
with user-writeable block devs or suid binaries or something. Use a fstab
entry:
/path/to/image /mnt/foo iso9660 ro,user,loop,noauto 0 0
-- Freenet distribution not available We can found no scientific discipline, nor a healthy profession on the technical mistakes of the Department of Defense and IBM. -- Edsger Dijkstra
- Next message: Dave Uhring: "Re: "Bugbear" virus in Linux?"
- Previous message: Buck Turgidson: "Mac GUI"
- In reply to: Thomas Güttler: "Re: Loopback as user"
- Next in thread: Lee Sau Dan: "Re: Loopback as user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|