diff options
Diffstat (limited to 'man1/chmod.1')
| -rw-r--r-- | man1/chmod.1 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/man1/chmod.1 b/man1/chmod.1 index 4f047aad70..052b507428 100644 --- a/man1/chmod.1 +++ b/man1/chmod.1 @@ -56,8 +56,8 @@ sticky bit (t), the permissions that the user who owns the file currently has for it (u), the permissions that other users in the file's group have for it (g), and the permissions that other users not in the file's group have for it (o). -(Thus, `chmod g\-s file' removes the set-group-ID (sgid) bit, -\&`chmod ug+s file' sets both the suid and sgid bits, while +(Thus, `chmod g\-s file' removes the set-group-ID bit, +\&`chmod ug+s file' sets both the set-user-ID and set-group-ID bits, while \&`chmod o+s file' does nothing.) .PP The name of the `sticky bit' derives from the original meaning: @@ -133,7 +133,7 @@ usual meaning. POSIX 1003.2 only requires the \-R option. Use of other options may not be portable. This standard does not describe the 't' permission bit. This standard does not specify whether \fBchmod\fP must preserve -consistency by clearing or refusing to set the suid and sgid +consistency by clearing or refusing to set the set-user-ID and set-group-ID bits, e.g., when all execute bits are cleared, or whether \fBchmod\fP honors the `s' bit at all. .SH "NONSTANDARD MODES" @@ -142,8 +142,10 @@ Various systems attach special meanings to otherwise meaningless combinations of mode bits. In particular, Linux, following System V (see System V Interface Definition (SVID) Version 3), -lets the sgid bit for files without group execute permission -mark the file for mandatory locking. For more details, see +uses the combination of having the set-group-ID bit enabled +while group execute bit is disabled to mean that +mandatory locking is enabled for the file. +For more details, see the file .IR /usr/src/linux/Documentation/mandatory.txt . .SH NOTES |
