summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-12-09 22:35:55 +0000
committerpjd <pjd@FreeBSD.org>2006-12-09 22:35:55 +0000
commitc7ad47675e611033497d41047052ad96c651aef5 (patch)
treeb99aa9a811c6172555c78e42b047221ce2fd0840 /lib/libc
parenta7250df1fb8c1804c31ff9d28e758a4e6f05c5a7 (diff)
downloadFreeBSD-src-c7ad47675e611033497d41047052ad96c651aef5.zip
FreeBSD-src-c7ad47675e611033497d41047052ad96c651aef5.tar.gz
If the parent directory of the named file has its immutable flag set,
mkdir(2) returns EPERM.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/mkdir.26
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/mkdir.2 b/lib/libc/sys/mkdir.2
index e91c9ba..d526842 100644
--- a/lib/libc/sys/mkdir.2
+++ b/lib/libc/sys/mkdir.2
@@ -32,7 +32,7 @@
.\" @(#)mkdir.2 8.2 (Berkeley) 12/11/93
.\" $FreeBSD$
.\"
-.Dd December 11, 1993
+.Dd December 9, 2006
.Dt MKDIR 2
.Os
.Sh NAME
@@ -78,6 +78,10 @@ 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 EPERM
+The parent directory of the named file has its immutable flag set, see the
+.Xr chflags 2
+manual page for more information.
.It Bq Er EROFS
The named file resides on a read-only file system.
.It Bq Er EEXIST
OpenPOWER on IntegriCloud