>From FreeBSD, POSIX has identical wording. Alternately, we could add an extra EACCESS entry similar to what exists in open(2). I'm happy with either approach.
- todd Index: lib/libc/sys/mkdir.2 =================================================================== RCS file: /cvs/src/lib/libc/sys/mkdir.2,v retrieving revision 1.17 diff -u -p -u -r1.17 mkdir.2 --- lib/libc/sys/mkdir.2 10 Sep 2015 17:55:21 -0000 1.17 +++ lib/libc/sys/mkdir.2 23 Mar 2017 16:05:00 -0000 @@ -101,7 +101,9 @@ bytes. .It Bq Er ENOENT A component of the path prefix does not exist. .It Bq Er EACCES -Search 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