mirror of https://github.com/mkerrisk/man-pages
mkdir.2: Further tweaks to text on S_ISVTX and 'mode' argument
Reported-by: Andreas Grünbacher <andreas.gruenbacher@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
1dab8564e2
commit
5ec64a3abd
17
man2/mkdir.2
17
man2/mkdir.2
|
@ -51,15 +51,17 @@ attempts to create a directory named
|
|||
|
||||
The argument
|
||||
.I mode
|
||||
specifies the file mode for the new directory (see
|
||||
specifies the mode for the new directory (see
|
||||
.BR stat (2)).
|
||||
It is modified by the process's
|
||||
.I umask
|
||||
in the usual way: in the absence of a default ACL, the mode of the
|
||||
created directory is
|
||||
.RI ( mode " & ~" umask " & 01777)."
|
||||
Other mode bits of the created directory depend on the operating system.
|
||||
For Linux, see below.
|
||||
.RI ( mode " & ~" umask " & 0777)."
|
||||
Whether other
|
||||
.I mode
|
||||
bits are honored for the created directory depends on the operating system.
|
||||
For Linux, see NOTES below.
|
||||
|
||||
The newly created directory will be owned by the effective user ID of the
|
||||
process.
|
||||
|
@ -211,11 +213,10 @@ SVr4, BSD, POSIX.1-2001, POSIX.1-2008.
|
|||
.BR mkdirat ():
|
||||
POSIX.1-2008.
|
||||
.SH NOTES
|
||||
Under Linux, apart from the permission bits, only the
|
||||
Under Linux, apart from the permission bits, the
|
||||
.B S_ISVTX
|
||||
mode bit is honored.
|
||||
See also
|
||||
.BR stat (2).
|
||||
.I mode
|
||||
bit is also honored.
|
||||
.PP
|
||||
There are many infelicities in the protocol underlying NFS.
|
||||
Some of these affect
|
||||
|
|
Loading…
Reference in New Issue