[1164] in linux-security and linux-alert archive

home help back first fref pref prev next nref lref last post

Re: [linux-security] mount

daemon@ATHENA.MIT.EDU (Andrei D. Caraman)
Wed Sep 18 14:56:50 1996

Date: Wed, 18 Sep 1996 18:12:59 +0300 (EET DST)
From: "Andrei D. Caraman" <xax@arkenstone.pub.ro>
To: James Hamilton <jch62140@cmsu2.cmsu.edu>
cc: linux security <linux-security@tarsier.cv.nrao.edu>
In-Reply-To: <305C62A7.2999DBAB@cmsu2.cmsu.edu>

On Sun, 17 Sep 1995, James Hamilton wrote:


> when a user mounts a dos floppy on /drivea the directory perms &
> ownerships get changed to:
> drwx------  ... jch  users .... /drivea
> which allows that user to read/write to the disk
> this doesn't happen when a user mounts an ext2fs...
> my question is...
> would it be insane to change the perms and ownership on the /floppy
> directory (where ext2's get mounted)
> to something like...
> drwxrwx--- ... root users ... /floppy
> (to allow the user to write to his/her own floppy without making it
> necessary that they be root...)
> and/or is there a better way to do this...

afaik, there is a better way: use fdmount/fdumount, which comes in the
slackware 3.1 distribution.  i don't know if it has the mount bug, but
i do know it changes the owner of the mount-point 

[REW: trimmed quote on authors request.]

hope this helps,
--
Andrei D. Caraman	       ROEDUNET ---- Bucharest 
Webmaster, hostmaster, ftpkeeper, sysadmin & many more
xax@arkenstone.pub.ro	       http://www.pub.ro/~xax/
      - Geek code & PGP key available by WWW -

home help back first fref pref prev next nref lref last post