From a2b7d92ad6f8c993b80d512bcd2d0c9a5ea7e2ab Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Tue, 12 Dec 2006 20:05:04 +0000 Subject: [PATCH] symlink(2) return EACCES if a component of the name2 path prefix denies write permission. --- lib/libc/sys/symlink.2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/libc/sys/symlink.2 b/lib/libc/sys/symlink.2 index b7de57d46371..7b3d865fecd7 100644 --- a/lib/libc/sys/symlink.2 +++ b/lib/libc/sys/symlink.2 @@ -79,6 +79,10 @@ path prefix does not exist. A component of the .Fa name2 path prefix denies search permission. +.It Bq Er EACCES +A component of the +.Fa name2 +path prefix denies write permission. .It Bq Er ELOOP Too many symbolic links were encountered in translating the pathname. .It Bq Er EEXIST