[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
- [PATCH v2 00/14] Bindings to *at functions, Maxime Devos, 2021/11/16
- [PATCH v2 02/14] Allow file ports in ‘readlink’., Maxime Devos, 2021/11/16
- [PATCH v2 09/14] Define a Scheme binding to ‘fchmodat’ when it exists., Maxime Devos, 2021/11/16
- [PATCH v2 11/14] Define a Scheme binding to ‘fchownat’ when it exists., Maxime Devos, 2021/11/16
- [PATCH v2 04/14] Define ‘symlinkat’ wrapper when supported., Maxime Devos, 2021/11/16
- [PATCH v2 10/14] Define a Scheme binding to ‘unlinkat’ when it exists., Maxime Devos, 2021/11/16
- [PATCH v2 06/14] Correct documentation of ‘mkdir’ w.r.t. the umask.,
Maxime Devos <=
- [PATCH v2 07/14] Define AT_REMOVEDIR and others when available., Maxime Devos, 2021/11/16
- [PATCH v2 05/14] Define bindings to ‘mkdirat’ when the C function exists., Maxime Devos, 2021/11/16
- [PATCH v2 03/14] Allow file ports in ‘utime’., Maxime Devos, 2021/11/16
- [PATCH v2 08/14] Define a Scheme binding to ‘renameat’ when it exists., Maxime Devos, 2021/11/16
- [PATCH v2 14/14] Update NEWS., Maxime Devos, 2021/11/16
- [PATCH v2 13/14] Define Scheme bindings to ‘openat’ when available., Maxime Devos, 2021/11/16
- [PATCH v2 12/14] Define a Scheme binding to ‘fstatat’ when available., Maxime Devos, 2021/11/16
- [PATCH v2 01/14] Allow file ports in ‘chdir’ when supported., Maxime Devos, 2021/11/16