This is the mail archive of the cygwin-patches@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH]: acl_worker didn't work correctly


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]