diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-12-20 09:09:47 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-12-20 09:09:47 +0000 |
commit | b1a2867ec62f2490d31d5ed99cc8791676876ef3 (patch) | |
tree | b27e13df86f07fb3d9a80557c2e54f2a9e41c82a /lib | |
parent | 9b09b87394b869ed6cd2022135c3a58b79d6afa9 (diff) |
update sticky: note that setting the sticky bit on files is still possible,
but has no effect. Retain description of sticky files, but note that it is
historical.
Add small description of how current system works. Improve description of
sticky directories. Remove references to ld(1).
Remove no longer relevant BUG.
much assistance and ok otto@ and tedu@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/chmod.2 | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2 index 74c45b0818d..733757b6bab 100644 --- a/lib/libc/sys/chmod.2 +++ b/lib/libc/sys/chmod.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chmod.2,v 1.11 2003/06/02 20:18:39 millert Exp $ +.\" $OpenBSD: chmod.2,v 1.12 2003/12/20 09:09:46 jmc Exp $ .\" $NetBSD: chmod.2,v 1.7 1995/02/27 12:32:06 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -86,19 +86,16 @@ permission bit masks defined in #define S_ISVTX 0001000 /* save swapped text even after use */ .Ed .Pp -The +If mode .Dv ISVTX (the .Em sticky bit ) -indicates to the system which executable files are shareable (the -default) and the system maintains the program text of the files -in the swap area. -The sticky bit may only be set by the superuser on shareable executable files. +is set on a file, it is ignored. .Pp If mode .Dv ISVTX (the -.Dq sticky bit ) +.Em sticky bit ) is set on a directory, an unprivileged user may not delete or rename files of other users in that directory. The sticky bit may be set by any user on a directory which the user owns |