guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 06/14] Correct documentation of ‘mkdir’ w.r.t. the umask.


From: Maxime Devos
Subject: [PATCH v2 06/14] Correct documentation of ‘mkdir’ w.r.t. the umask.
Date: Tue, 16 Nov 2021 11:06:29 +0000

* doc/ref/posix.texi (mkdir): Note that the umask is applied even if the
  mode argument is set.
---
 doc/ref/posix.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi
index d261ac8da..7f136376b 100644
--- a/doc/ref/posix.texi
+++ b/doc/ref/posix.texi
@@ -902,7 +902,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
 
-- 
2.30.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]