diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-11-16 11:06:29 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-10-21 17:40:37 +0200 |
commit | f018e0d486b8ec6b6fc78346534f71af6216614a (patch) | |
tree | 63ede5eb718ac71c6db55db8dca5709d971270dd | |
parent | 58ddd5c7bc3907c1f1e4dd9637d996c4d72eaba0 (diff) | |
download | guile-f018e0d486b8ec6b6fc78346534f71af6216614a.tar.gz |
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>
-rw-r--r-- | doc/ref/posix.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi index 642b84bee..93bb4d459 100644 --- a/doc/ref/posix.texi +++ b/doc/ref/posix.texi @@ -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 |