Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!osu-cis!att!cbnews!lvc
From: lvc@cbnews.ATT.COM (Lawrence V. Cipriani)
Newsgroups: comp.unix.wizards
Subject: Re: Mounting floppies
Message-ID: <2350@cbnews.ATT.COM>
Date: 28 Nov 88 13:58:17 GMT
References: <129@minya.UUCP> <8800002@gistdev>
Reply-To: lvc@cbnews.ATT.COM (Lawrence V. Cipriani)
Organization: AT&T Bell Laboratories
Lines: 18

In article <8800002@gistdev> flint@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@cbnews.ATT.COM