Article View: comp.bugs.misc
Article #125Bug in Ultrix 2.0:setting the sticky bit
From: Leo de Wit
Date: Tue, 05 Jul 1988 13:01
Date: Tue, 05 Jul 1988 13:01
13 lines
816 bytes
816 bytes
The open system call allows setting the sticky bit to non-root users,
for example
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.
B.T.W. the chmod(1) command does (correctly) not allow setting the
sticky bit for non-root users.
Leo.
Technical Details
Message-ID:
<552@philmds.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!mcvax!philmds!leoShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!mcvax!philmds!leo From: leo@philmds.UUCP (Leo de Wit) Newsgroups: comp.bugs.misc Subject: Bug in Ultrix 2.0:setting the sticky bit Keywords: tricky sticky Message-ID: <552@philmds.UUCP> Date: 5 Jul 88 13:01:54 GMT Reply-To: leo@philmds.UUCP (Leo de Wit) Organization: Philips I&E DTS Eindhoven Lines: 13