aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/mkdir.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/mkdir.2')
-rw-r--r--lib/libc/sys/mkdir.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/mkdir.2 b/lib/libc/sys/mkdir.2
index 4477758dec92..9e0e4459c4be 100644
--- a/lib/libc/sys/mkdir.2
+++ b/lib/libc/sys/mkdir.2
@@ -73,7 +73,9 @@ or an entire path name exceeded 1023 characters.
.It Bq Er ENOENT
A component of the path prefix does not exist.
.It Bq Er EACCES
-Search or write permission is denied for a component of the path prefix.
+Search permission is denied for a component of the path prefix,
+or write permission is denied
+on the parent directory of the directory to be created.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EROFS