Path: utzoo!attcan!uunet!mcvax!ukc!reading!onion!cf-cm!robert From: robert@computing-maths.cardiff.ac.uk (Robert Evans) Newsgroups: comp.bugs.misc Subject: Re: Bug in Ultrix 2.0:setting the sticky bit Keywords: tricky sticky Sun Message-ID: <472@cf-cm.UUCP> Date: 14 Jul 88 13:02:20 GMT References: <552@philmds.UUCP> <241@pigs.UUCP> <3341@palo-alto.DEC.COM> Reply-To: robert@computing-maths.cardiff.ac.uk (Robert Evans) Organization: Univ. Coll. Cardiff, Cardiff, WALES, UK. Lines: 28 In article <3341@palo-alto.DEC.COM> vixie@palo-alto.DEC.COM (Paul Vixie) writes: >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 ] The same feature can be observed on a Sun (3/160) running SunOS 3.5: Script started on Thu Jul 14 13:51:31 1988 geometry% cat bug.c #includemain () { close (open ("bug.test", O_WRONLY|O_CREAT|O_TRUNC, 01000)); perror ("bug.test"); } geometry% cc -o bug bug.c geometry% bug bug.test: Error 0 geometry% ls -l bug.test ---------t 1 robert 0 Jul 14 13:52 bug.test geometry% script done on Thu Jul 14 13:52:13 1988 -- -- Robert Evans, Dept of Computing Maths, University College Cardiff, PO Box 78, Cardiff, Wales, UK, CF1 1XL. Tel: +44 (0)222 874000 x 5518 E-mail: R.Evans@computing-maths.cardiff.ac.uk UUCP: R.Evans@cf-cm.UUCP