mirror of https://github.com/mkerrisk/man-pages
stat.2: Tighten wording: use 'mode bit' rather than 'permission bit'
According to POSIX, the the 9 UGO*RWX bits are permissions, and 'mode' is used to refer to collectively to those bits plus sticky, set-UID, and set_GID bits. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b0c5363f3e
commit
7901c9c3cd
|
@ -371,7 +371,7 @@ with a value of 500 or greater, or
|
|||
with a value of 200112L or greater.
|
||||
.PP
|
||||
The following mask values are defined for
|
||||
the file permissions component of the
|
||||
the file mode component of the
|
||||
.I st_mode
|
||||
field:
|
||||
.in +4n
|
||||
|
@ -624,7 +624,7 @@ field of the
|
|||
structure.
|
||||
POSIX.1-2008 tightens the specification, requiring
|
||||
.BR lstat ()
|
||||
to return valid information in all fields except the permission bits in
|
||||
to return valid information in all fields except the mode bits in
|
||||
.IR st_mode .
|
||||
|
||||
Use of the
|
||||
|
|
Loading…
Reference in New Issue