1
Fork 0
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:
Maxime Devos 2021-11-16 11:06:29 +00:00 committed by Ludovic Courtès
parent 58ddd5c7bc
commit f018e0d486

View file

@ -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