1
It seems cygwin considers all files to be executable:
/tmp> echo "echo abc" > a
/tmp> ls -l a
-rw-r--r-- 1 I063510 Domain Users 9 Apr 9 15:39 a
/tmp> ./a
abc
/tmp> cygcheck -c base-cygwin
Cygwin Package Information
Package Version Status
base-cygwin 3.8-1 OK
I am pretty sure this behavior has changed recently. Is it configurable so that I such files do not execute?
I even seem to remember having to change permission of a .bat file created inside cygwin so that it can be executed from windows command prompt, but I could be wrong about that.