diff options
author | pjd <pjd@FreeBSD.org> | 2006-12-09 19:40:24 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-12-09 19:40:24 +0000 |
commit | 991a488b1d848c496fff081e4deeff1a266a5c53 (patch) | |
tree | e502e49f99165183d2ec54ce617a06cf34fa6cee /lib | |
parent | bb93464d9e49aaafe5cd03595b13d5b8c4dd204b (diff) | |
download | FreeBSD-src-991a488b1d848c496fff081e4deeff1a266a5c53.zip FreeBSD-src-991a488b1d848c496fff081e4deeff1a266a5c53.tar.gz |
Correct last commit. The parent directory of the file to be removed can
have undeletable flag set.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/unlink.2 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2 index dbab664..75d9ff6 100644 --- a/lib/libc/sys/unlink.2 +++ b/lib/libc/sys/unlink.2 @@ -32,7 +32,7 @@ .\" @(#)unlink.2 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd February 23, 2005 +.Dd December 9, 2006 .Dt UNLINK 2 .Os .Sh NAME @@ -87,11 +87,13 @@ Too many symbolic links were encountered in translating the pathname. .It Bq Er EPERM The named file is a directory. .It Bq Er EPERM -The named file has its immutable, undeletable or append-only -flag set, see the +The named file 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 named file has its immutable or append-only flag +set. +.It Bq Er EPERM The directory containing the file is marked sticky, and neither the containing directory nor the file to be removed are owned by the effective user ID. |