[1161] in linux-security and linux-alert archive
[linux-security] mount
daemon@ATHENA.MIT.EDU (James Hamilton)
Wed Sep 18 02:47:57 1996
Date: Sun, 17 Sep 1995 13:02:15 -0500
From: James Hamilton <jch62140@cmsu2.cmsu.edu>
To: linux security <linux-security@tarsier.cv.nrao.edu>
We have a networked linux computer lab where we need to support users
with floppies of different file system types.
/etc/fstab looks like...
...some nfs stuff...
/dev/fd0 /drivea msdos user,conv=auto
/dev/fda /floppy ext2 user
# where fda is exactly like fd0 (same major and minor #'s)
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...
thanks, jch
note: we are using the debian fixed version of mount (that fixes the
recent mount hole) on a slackware distribution.
--
"Life's a lot more fun when you're not responsible for your actions."
-- Calvin
"Computers are useless. They can only give you answers."
-- Pablo Picasso
-----NOTHING MEANINGFUL FOLLOWS THIS LINE-----