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