This is the mail archive of the
cygwin-patches@sources.redhat.com
mailing list for the Cygwin project.
[PATCH]: acl_worker didn't work correctly
- To: cygpatch <cygwin-patches at sources dot redhat dot com>
- Subject: [PATCH]: acl_worker didn't work correctly
- From: Corinna Vinschen <vinschen at cygnus dot com>
- Date: Fri, 21 Jul 2000 12:23:46 +0200
- Reply-To: cygpatch <cygwin-patches at sources dot redhat dot com>
I have patched acl_worker in security.cc to use the same set of
suffixes (which are "", ".exe" for now) as stat_worker uses.
The missing suffix check leads to a different behaviour of access()
when ntsec is ON. In that case, access() calls acl_access() which
in turn calls acl() to get the ACL of the file to check the users
permissions. acl_worker() calls path_conv and up to today it called
path_conv without checking for the exe suffix.
Corinna
--
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company