From 6ba83be00861c21a6c52f26a4b8c906dcac2239d Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 3 Jul 1997 17:50:37 +0000 Subject: doc EPERM properly; kleink --- lib/libc/sys/unlink.2 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/libc') diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2 index 145a4818b7c..810d0338e3c 100644 --- a/lib/libc/sys/unlink.2 +++ b/lib/libc/sys/unlink.2 @@ -88,6 +88,10 @@ Too many symbolic links were encountered in translating the pathname. .It Bq Er EPERM The named file is a directory and the effective user ID of the process is not the super-user. +of the process is not the super-user, or the file system +containing the file does not permit the use of +.Fn unlink +on a directory. .It Bq Er EPERM The directory containing the file is marked sticky, and neither the containing directory nor the file to be removed -- cgit v1.2.3