Path: utzoo!attcan!uunet!lll-winken!lll-lcc!lll-tis!helios.ee.lbl.gov!nosc!ucsd!ucbvax!decwrl!palo-alto!vixie From: vixie@palo-alto.DEC.COM (Paul Vixie) Newsgroups: comp.bugs.misc Subject: Re: Bug in Ultrix 2.0:setting the sticky bit Keywords: tricky sticky Message-ID: <3341@palo-alto.DEC.COM> Date: 8 Jul 88 06:53:15 GMT References: <552@philmds.UUCP> <241@pigs.UUCP> Organization: DEC Western Research Lab Lines: 36 In article <241@pigs.UUCP> haugj@pigs.UUCP (Joe Bob Willie) writes: # In article <552@philmds.UUCP> leo@philmds.UUCP (Leo de Wit) writes: # >The open system call allows setting the sticky bit to non-root users, # >for example [ using Ultrix ] # > # > close(open(filename,O_WRONLY|O_CREAT|O_TRUNC,512)); # > # >creates a file with sticky bit set. But, according to sticky(8): # > # > Only the super-user can set the sticky bit. # # just finished trying it here and the results are: # [...] # ---------- 1 haugj sys 0 Jul 6 17:18 bug.test # nope, no bug here. must be an ultrix value added feature ;-) I got this on an Ultrix 2.X machine: ---------t 1 vixie 0 Jul 7 23:38 bug.test I don't have a 4.2 system handy, but on Ultrix 1.2: ---------- 1 vixie 0 Jul 7 23:49 bug.test On 4.3BSD (+ all comp.bugs.4bsd.ucb-fixes): ---------- 1 vix 0 Jul 7 23:47 bug.test Note: I am not part of the Ultrix group. If I get time I'll see if I can notice this problem and bring it to the attention of someone (who, I do not know) who might be interested in it. No guarantees. DEC is definitely not aware that I am posting this. -- Paul Vixie Digital Equipment Corporation Work: vixie@dec.com Play: paul@vixie.UUCP Western Research Laboratory uunet!decwrl!vixie uunet!vixie!paul Palo Alto, California, USA +1 415 853 6600 +1 415 864 7013