mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
Correct documentation of ‘mkdir’ w.r.t. the umask.
* doc/ref/posix.texi (mkdir): Note that the umask is applied even if the mode argument is set. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
58ddd5c7bc
commit
f018e0d486
1 changed files with 2 additions and 1 deletions
|
@ -920,7 +920,8 @@ the directory referred to by the file port @var{dir}.
|
|||
Create a new directory named by @var{path}. If @var{mode} is omitted
|
||||
then the permissions of the directory are set to @code{#o777}
|
||||
masked with the current umask (@pxref{Processes, @code{umask}}).
|
||||
Otherwise they are set to the value specified with @var{mode}.
|
||||
Otherwise they are set to the value specified with @var{mode}
|
||||
masked with the current umask.
|
||||
The return value is unspecified.
|
||||
@end deffn
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue