[LUAU] Mounting Drives and floppy access

Chris Wong wongc at math.ed.hawaii.edu
Thu Dec 17 21:02:31 PST 1998


On Thu, 17 Dec 1998 bbraun at sparcy.synack.net wrote:

> On linux this is fairly simple.  In /etc/fstab, there is a "user"
> option.  This lets a normal user run the "mount" command for that
> particular entry in fstab.  Usually you'll want to put nodev, nosuid,
> and maybe noexec as well.  Just so they can't bring in a floppy and
> have special privleges.  More info on this is in the fstab and mount
> man pages.

> For machines other than linux that don't have the "user" option, 
> there is the mtools package that allows user access.

I think mtools might be a better bet. There's been quite a few bugs in
mount. The kind that can give the user root access.

(maybe they've all been fixed.. and maybe the final version of Sendmail is
just around the corner)

Check to see if /dev/fd0 (or whatever floppy device you use) is group
writeable by whatever group. Then give that user that group (add them to
the group in /etc/group) (In the distributions I use, /dev/fd0 is writable
by group floppy.... in /etc/groups look for the line that reads 
"floppy:x:root,and-add-your-user-here" or some variation thereof)





More information about the LUAU mailing list