If the parent directory of the named file has its immutable flag set,

mkdir(2) returns EPERM.
This commit is contained in:
Pawel Jakub Dawidek 2006-12-09 22:35:55 +00:00
parent 5b6598a8c2
commit 93dbfff0f9

View File

@ -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