diff options
author | 2000-07-07 18:21:37 +0000 | |
---|---|---|
committer | 2000-07-07 18:21:37 +0000 | |
commit | cb681c8881b9060db5f12a0a1afd48828e229125 (patch) | |
tree | 72da7a19d78db3836d7bd6296edb5ee585655125 /lib/libc/sys | |
parent | sync (diff) | |
download | wireguard-openbsd-cb681c8881b9060db5f12a0a1afd48828e229125.tar.xz wireguard-openbsd-cb681c8881b9060db5f12a0a1afd48828e229125.zip |
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/sys')
-rw-r--r-- | lib/libc/sys/unlink.2 | 5 |
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. |