From 7a9ed134f5395ca2a13499a71898c2fa083bc950 Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Fri, 7 Jul 2000 18:21:38 +0000 Subject: Note that EPERM is returned if the named file to be unlinked has its immutable or append-only flag set (see chflags(2)). --- lib/libc/sys/unlink.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') 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. -- cgit v1.2.3