summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-12-09 19:42:58 +0000
committerpjd <pjd@FreeBSD.org>2006-12-09 19:42:58 +0000
commit94128f1de10f6712cef7c502d8b3c2eb0f4150d1 (patch)
tree3cf9c4623d61245acbf57d7d0c79e3a4a562f290 /lib
parent991a488b1d848c496fff081e4deeff1a266a5c53 (diff)
downloadFreeBSD-src-94128f1de10f6712cef7c502d8b3c2eb0f4150d1.zip
FreeBSD-src-94128f1de10f6712cef7c502d8b3c2eb0f4150d1.tar.gz
- If the parent directory of the file pointed at by the from argument has its
immutable or append-only flag set, rename(2) returns EPERM. - If the parent directory of the file pointed at by the to argument has its immutable flag set, rename(2) returns EPERM.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/rename.28
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2
index bbb7c25..bf695d4 100644
--- a/lib/libc/sys/rename.2
+++ b/lib/libc/sys/rename.2
@@ -134,6 +134,14 @@ 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 parent directory of the file pointed at by the
+.Fa from
+argument has its immutable or append-only flag set.
+.It Bq Er EPERM
+The parent directory of the file pointed at by the
+.Fa to
+argument has its immutable flag set.
+.It Bq Er EPERM
The directory containing
.Fa from
is marked sticky,
OpenPOWER on IntegriCloud