[PATCH]: acl_worker didn't work correctly

Corinna Vinschen vinschen@cygnus.com
Fri Jul 21 03:23:00 GMT 2000

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 Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

More information about the Cygwin-patches mailing list