Mount - as regular user?
From: Tobias Brox (tobias_at_stud.cs.uit.no)
Date: 11/17/03
- Next message: mjt: "Re: open source threats: M$ to purchase google?"
- Previous message: Anonymous: "Re: Capture from Real Player using arecord"
- Next in thread: John Winters: "Re: Mount - as regular user?"
- Reply: John Winters: "Re: Mount - as regular user?"
- Reply: Lew Pitcher: "Re: Mount - as regular user?"
- Reply: Robert Heller: "Re: Mount - as regular user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 17 Nov 2003 18:59:58 +0000 (UTC)
So I'm sitting as a regular user at a computer. We are allowed to mount
things, i.e. the floppy - /etc/fstab has this line:
/dev/floppy /mnt/floppy vfat noauto,rw,user,nosuid,nodev,sync 0 0
Well, nice enough. Except for that the floppy is formatted ext2, not fat.
I have ownership to the device:
brw-rw---- 1 tobias floppy 2, 0 Jan 30 2003 /dev/fd0
But anyway ...
$ mount -t ext2 /mnt/floppy/
mount: only root can do that
$ mount -t ext2 /dev/fd0 ~/floppy
mount: only root can do that
$ mount -o loop -t ext2 ~/floppy.img ~/floppy
mount: only root can do that
Why can't I do this? What problems are there to allow regular users doing
this?
-- Tobias Brox - +47 917 000 50 - http://www.cs.uit.no/~tobias/ Check our new Mobster game at http://mobster.td.org.uit.no/ (web game, updates every 4th hour, no payment, no commercials)
- Next message: mjt: "Re: open source threats: M$ to purchase google?"
- Previous message: Anonymous: "Re: Capture from Real Player using arecord"
- Next in thread: John Winters: "Re: Mount - as regular user?"
- Reply: John Winters: "Re: Mount - as regular user?"
- Reply: Lew Pitcher: "Re: Mount - as regular user?"
- Reply: Robert Heller: "Re: Mount - as regular user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|