summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-07-07 18:21:38 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-07-07 18:21:38 +0000
commit7a9ed134f5395ca2a13499a71898c2fa083bc950 (patch)
tree14062700a8362f8618d8517fbc266b3036155332 /lib/libc
parent8b7372b434276d87f9be3f782bda70c3c2444bdd (diff)
Note that EPERM is returned if the named file to be unlinked has its immutable
or append-only flag set (see chflags(2)).
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/unlink.25
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2
index c175da13cf9..0b7c557459a 100644
--- a/lib/libc/sys/unlink.2
+++ b/lib/libc/sys/unlink.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: unlink.2,v 1.9 2000/04/15 11:46:04 aaron Exp $
+.\" $OpenBSD: unlink.2,v 1.10 2000/07/07 18:21:37 aaron Exp $
.\" $NetBSD: unlink.2,v 1.7 1995/02/27 12:39:13 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -96,6 +96,9 @@ on a directory.
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.
+.It Bq Er EPERM
+The named file has its immutable or append-only flag set (see
+.Xr chflags 2 ) .
.It Bq Er EBUSY
The entry to be unlinked is the mount point for a
mounted file system.