summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-07-04 06:29:36 +0000
committerdd <dd@FreeBSD.org>2001-07-04 06:29:36 +0000
commitd35295b408b19cb193b1d09443609ad27164268e (patch)
treec126a182c7c4da41691f950f4718a24caeff9132 /lib/libc
parentc51c7305acaa15a47171633f8da1681ca8a7e5d2 (diff)
downloadFreeBSD-src-d35295b408b19cb193b1d09443609ad27164268e.zip
FreeBSD-src-d35295b408b19cb193b1d09443609ad27164268e.tar.gz
Describe the condition when EACCES is returned more explicitly.
Submitted by: bde
Diffstat (limited to 'lib/libc')
-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 4477758..9e0e445 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
OpenPOWER on IntegriCloud