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