Re: mounting loopback as non-root user

From: Jan Minar (Jan.Minar_at_seznam.cz)
Date: 12/30/03

  • Next message: Alan Chandler: "Struggling with Palm Pilot"
    Date: Tue, 30 Dec 2003 18:58:19 +0100
    To: debian-user@lists.debian.org
    
    
    

    On Tue, Dec 30, 2003 at 12:09:37PM -0600, Rob Benton wrote:
    > I guess I've never payed much attention to this until today but you have
    > to be root to mount with the -o loop option. At least on my machine I
    > do. Mount has the suid bit set. Is there some way I can allow non-root
    > users to mount loop devices?

    # dd if=/dev/zero of=/mnt/zero bs=1M count=10
    # mke2fs /mnt/zero
    # cat >> /etc/fstab <<EOT
    /mnt/zero /mnt/zeromnt ext2 user,loop 0 0
    EOT

    but that's probably not what you meant?

    -- 
    Jan Minar                                 Don't CC me, I'm subscribed.
    
    

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


  • Next message: Alan Chandler: "Struggling with Palm Pilot"

    Relevant Pages

    • Re: mounting loopback as non-root user
      ... On Tue, 30 Dec 2003, Rob Benton wrote: ... > to be root to mount with the -o loop option. ... Mount has the suid bit set. ...
      (Debian-User)
    • mounting loopback as non-root user
      ... I guess I've never payed much attention to this until today but you have ... to be root to mount with the -o loop option. ... Mount has the suid bit set. ...
      (Debian-User)
    • Re: mounting loopback as non-root user
      ... >> I guess I've never payed much attention to this until today but you have ... > give a user the direct ability to mount on a loop device. ... --there's no difference between a loop device and any other device. ... It's even cumbersome sometimes to do these things as root. ...
      (Debian-User)
    • Re: UFS Bug: FreeBSD 6.1/6.2/7.0: MOKB-08-11-2006, CVE-2006-5824, MOKB-03
      ... They can simply mount a filesystem with any number of SUID ... root binaries on it and have their way with the box. ... They have physical access to the machine. ...
      (FreeBSD-Security)
    • 2.6 kernel NFS root mount problem
      ... I'm tying to run 2.6.18 kernel on ARM AT91RM9200DK board with NFS mount ... usb usb1: Product: AT91 OHCI ... Unable to mount root fs via NFS, ...
      (Linux-Kernel)