mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
When immutable, undeletable or append-only flag is set, rename(2)
return EPERM.
This commit is contained in:
parent
858e6c9cbd
commit
d1eb7b96e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165041
@ -32,7 +32,7 @@
|
||||
.\" @(#)rename.2 8.1 (Berkeley) 6/4/93
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd June 4, 1993
|
||||
.Dd December 9, 2006
|
||||
.Dt RENAME 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -128,6 +128,12 @@ A component of either path prefix denies search permission.
|
||||
The requested link requires writing in a directory with a mode
|
||||
that denies write permission.
|
||||
.It Bq Er EPERM
|
||||
The file pointed at by the
|
||||
.Fa from
|
||||
argument has its immutable, undeletable or append-only flag set, see the
|
||||
.Xr chflags 2
|
||||
manual page for more information.
|
||||
.It Bq Er EPERM
|
||||
The directory containing
|
||||
.Fa from
|
||||
is marked sticky,
|
||||
@ -206,6 +212,7 @@ argument
|
||||
is a directory and is not empty.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr chflags 2 ,
|
||||
.Xr open 2 ,
|
||||
.Xr symlink 7
|
||||
.Sh STANDARDS
|
||||
|
Loading…
Reference in New Issue
Block a user