Add sticky bit to documentation.
This commit is contained in:
parent
a55cc8c95e
commit
298703ff2d
7
chmod.1
7
chmod.1
|
@ -9,7 +9,7 @@ chmod \- change file mode
|
||||||
.P
|
.P
|
||||||
.B chmod
|
.B chmod
|
||||||
.RB [ \-r ]
|
.RB [ \-r ]
|
||||||
.RB [ ugoa ]*[ +-= ][ rwxs ]*
|
.RB [ ugoa ]*[ +-= ][ rwxst ]*
|
||||||
.RI [ file ...]
|
.RI [ file ...]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B chmod
|
.B chmod
|
||||||
|
@ -18,7 +18,7 @@ changes the file mode for the given files.
|
||||||
If the mode is an
|
If the mode is an
|
||||||
.I octal
|
.I octal
|
||||||
number, the modes are set according to that number's comprising bits. The first
|
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 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
|
defines permissions for others in the file's group; and the fourth for all other
|
||||||
users. Leading zeroes may be omitted.
|
users. Leading zeroes may be omitted.
|
||||||
|
@ -62,6 +62,9 @@ execute permissions.
|
||||||
.TP
|
.TP
|
||||||
.B s
|
.B s
|
||||||
setuid and setgid attributes.
|
setuid and setgid attributes.
|
||||||
|
.TP
|
||||||
|
.B t
|
||||||
|
sticky attribute.
|
||||||
.PD
|
.PD
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
|
|
Loading…
Reference in New Issue
Block a user