If the parent directory of the named file has its immutable flag set,
mkdir(2) returns EPERM.
This commit is contained in:
parent
5b6598a8c2
commit
93dbfff0f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user