Replace the homegrown checks for readonly/executable with calls to access(2)
to consider, for example, user's secondary groups.
* subversion/libsvn_subr/io.c
(svn_io__is_finfo_read_only): As above
(svn_io__is_finfo_executable): As above but move the permission check code
from here
(svn_io_is_file_executable): .. to here since access() wants a path and we
already have it in the arguments.
Suggested by: Joe Orton
See https://lists.apache.org/list?dev@apr.apache.org
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1915214 13f79535-47bb-0310-9956-ffa450edef68
1 file changed