aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/rmdir.2
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2006-12-09 19:44:38 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2006-12-09 19:44:38 +0000
commit3e6f3ff0805e647495a91b56e798b519f3b5a8fd (patch)
treea42f24d2ee1725808474b6863b0d668dfd67edfe /lib/libc/sys/rmdir.2
parentb7715d3d8695e8c26e1a763bea764eb04ed8e91d (diff)
downloadsrc-3e6f3ff0805e647495a91b56e798b519f3b5a8fd.tar.gz
src-3e6f3ff0805e647495a91b56e798b519f3b5a8fd.zip
Notes
Diffstat (limited to 'lib/libc/sys/rmdir.2')
-rw-r--r--lib/libc/sys/rmdir.210
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/sys/rmdir.2 b/lib/libc/sys/rmdir.2
index f98b952053b9..6cad537f6bac 100644
--- a/lib/libc/sys/rmdir.2
+++ b/lib/libc/sys/rmdir.2
@@ -32,7 +32,7 @@
.\" @(#)rmdir.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd January 22, 2006
+.Dd December 9, 2006
.Dt RMDIR 2
.Os
.Sh NAME
@@ -82,6 +82,14 @@ Search permission is denied for a component of the path prefix.
Write permission is denied on the directory containing the link
to be removed.
.It Bq Er EPERM
+The directory to be removed has its immutable, undeletable or append-only flag
+set, see the
+.Xr chflags 2
+manual page for more information.
+.It Bq Er EPERM
+The parent directory of the directory to be removed has its immutable or
+append-only flag set.
+.It Bq Er EPERM
The directory containing the directory to be removed is marked sticky,
and neither the containing directory nor the directory to be removed
are owned by the effective user ID.