Mounting floppies

Lawrence V. Cipriani lvc at cbnews.ATT.COM
Mon Nov 28 23:58:17 AEST 1988


In article <8800002 at gistdev> flint at gistdev.UUCP writes:
>
>I think it would be nice to have an option on mount that would basically say
>"If the suid or guid bits are set on any files not owned by me, then clear the
>bits and then mount the floppy."  Such an option could presumably be used
>without your having to be the super-user: it might be extremely slow, but so
>what?  Mounting a floppy is hardly a fast operation in the first place.

Something similar to this is in *some* versions of UNIX(tm).  The set[ug]id
bits are ignored on exec, opens on block or character devices are failed, and
copying a set[ug]id file on such a file system would clear the s[ug]id bits.
This is applicable on a file system basis, not just for floppies.  I hope
it is in UNIX SVR4.

UNIX is a registered trademark of AT&T.
-- 
Larry Cipriani, AT&T Network Systems, Columbus OH,
Path: att!cbnews!lvc    Domain: lvc at cbnews.ATT.COM



More information about the Comp.unix.wizards mailing list