From 291ec8d867d1ecbb7adb1ce9182c21122d558702 Mon Sep 17 00:00:00 2001 From: pjd Date: Sun, 10 Dec 2006 13:04:36 +0000 Subject: When directory is given as an argument for unlink(2), EPERM is returned not matter if this is regular directory or a mount point. --- lib/libc/sys/unlink.2 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/libc/sys') diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2 index 75d9ff6..6c66573 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 December 9, 2006 +.Dd December 10, 2006 .Dt UNLINK 2 .Os .Sh NAME @@ -97,9 +97,6 @@ set. 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 EBUSY -The entry to be unlinked is the mount point for a -mounted file system. .It Bq Er EIO An I/O error occurred while deleting the directory entry or deallocating the inode. -- cgit v1.1