From 368c2034f009963e9ca787ce8a5908541ab7ded7 Mon Sep 17 00:00:00 2001
From: Dima Dorfman
Date: Wed, 4 Jul 2001 06:29:36 +0000
Subject: [PATCH] Describe the condition when EACCES is returned more
explicitly.
Submitted by: bde
---
lib/libc/sys/mkdir.2 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/libc/sys/mkdir.2 b/lib/libc/sys/mkdir.2
index 4477758dec9..9e0e4459c4b 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