diff options
author | trhodes <trhodes@FreeBSD.org> | 2005-02-23 23:55:58 +0000 |
---|---|---|
committer | trhodes <trhodes@FreeBSD.org> | 2005-02-23 23:55:58 +0000 |
commit | 31981a764baf697e8044bae00e4c1b622197195c (patch) | |
tree | 987f13354f9962bb5d7f1a894f44b634e562965e /lib | |
parent | 26f1ab5a106a920da1cc377b71ce241c875de4d1 (diff) | |
download | FreeBSD-src-31981a764baf697e8044bae00e4c1b622197195c.zip FreeBSD-src-31981a764baf697e8044bae00e4c1b622197195c.tar.gz |
Xref chflags(2).
Note that unlink.2 can return EPERM if the immutable or append-only flags are set.
PR: 77043
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/unlink.2 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2 index 3326134..40bbc33 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 June 4, 1993 +.Dd February 23, 2005 .Dt UNLINK 2 .Os .Sh NAME @@ -87,6 +87,11 @@ 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 or append-only +flag set, see the +.Xr chflags 2 +manual page for more information. +.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. @@ -105,6 +110,7 @@ argument points outside the process's allocated address space. .El .Sh SEE ALSO +.Xr chflags 2 , .Xr close 2 , .Xr link 2 , .Xr rmdir 2 , |