aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-07-04 06:29:36 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-07-04 06:29:36 +0000
commit368c2034f009963e9ca787ce8a5908541ab7ded7 (patch)
treec126a182c7c4da41691f950f4718a24caeff9132 /lib
parentba03331add80683cff060aa5b2b25e199eb2d4b8 (diff)
downloadsrc-368c2034f009963e9ca787ce8a5908541ab7ded7.tar.gz
src-368c2034f009963e9ca787ce8a5908541ab7ded7.zip
Describe the condition when EACCES is returned more explicitly.
Submitted by: bde
Notes
Notes: svn path=/head/; revision=79180
Diffstat (limited to 'lib')
-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