diff options
author | pjd <pjd@FreeBSD.org> | 2006-12-10 13:04:36 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-12-10 13:04:36 +0000 |
commit | 291ec8d867d1ecbb7adb1ce9182c21122d558702 (patch) | |
tree | 48417e5efb8fa42626c54bb1a1615227e5374fe1 /lib/libc/sys/unlink.2 | |
parent | 05d06a47523c82ff3f7bf45e30205328f94b02a6 (diff) | |
download | FreeBSD-src-291ec8d867d1ecbb7adb1ce9182c21122d558702.zip FreeBSD-src-291ec8d867d1ecbb7adb1ce9182c21122d558702.tar.gz |
When directory is given as an argument for unlink(2), EPERM is returned
not matter if this is regular directory or a mount point.
Diffstat (limited to 'lib/libc/sys/unlink.2')
-rw-r--r-- | lib/libc/sys/unlink.2 | 5 |
1 files changed, 1 insertions, 4 deletions
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. |