On Jul 2 06:39, Eric Blake wrote: > There are two 'test's - the bash builtin, and /bin/test from coreutils. > /bin/test uses access()/eaccess() > (/usr/src/coreutils-5.3.0/src/test.c:552, > /usr/src/coreutils-5.3.0/lib/euidaccess.c) to determine if a file is > executable, which should leave it entirely in cygwin1.dll's hands (and > rely on cygwin's handling of spelling, ACLs, and ownerships). bash uses > its own home-baked method (/usr/src/bash-3.0/test.c:223,609) using stat() > as its base, so it appears to ignore ACLs. Please let me know if either > test or /bin/test gets a wrong answer in the presence of ACLs, in which > case I can report the bug upstream.
It's advisable to use access() on Cygwin instead of stat() with cream. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/