mkdir.2: Wording fixes + point reader at stat(2) for explanation of file mode

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-04-21 14:22:10 +02:00
parent 9fcca5a033
commit 2fc8395c2b
1 changed files with 4 additions and 3 deletions

View File

@ -51,11 +51,12 @@ attempts to create a directory named
The argument
.I mode
specifies the permissions to use.
specifies the file 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 permissions of the
created directory are
in the usual way: in the absence of a default ACL, the mode of the
created directory is
.RI ( mode " & ~" umask " & 0777)."
Other mode bits of the created directory depend on the operating system.
For Linux, see below.