commit 298703ff2dde5bf8484ac8e101265884884eb758
parent a55cc8c95e37c55c2b685d1f7a9775f0c6e4e767
Author: Markus Wichmann <nullplan@gmx.net>
Date: Sun, 20 Oct 2013 10:56:49 +0200
Add sticky bit to documentation.
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/chmod.1 b/chmod.1
@@ -9,7 +9,7 @@ chmod \- change file mode
.P
.B chmod
.RB [ \-r ]
-.RB [ ugoa ]*[ +-= ][ rwxs ]*
+.RB [ ugoa ]*[ +-= ][ rwxst ]*
.RI [ file ...]
.SH DESCRIPTION
.B chmod
@@ -18,7 +18,7 @@ changes the file mode for the given files.
If the mode is an
.I octal
number, the modes are set according to that number's comprising bits. The first
-digit defines the setuid (4) and setgid (2) attributes. The second digit
+digit defines the setuid (4), setgid (2), and sticky (1) attributes. The second digit
defines the owner's permissions: read (4), write (2), and execute (1); the third
defines permissions for others in the file's group; and the fourth for all other
users. Leading zeroes may be omitted.
@@ -62,6 +62,9 @@ execute permissions.
.TP
.B s
setuid and setgid attributes.
+.TP
+.B t
+sticky attribute.
.PD
.SH OPTIONS
.TP