On 18. 4. 2015 19:21, Steven Penny wrote: > On Sat, Apr 18, 2015 at 9:47 AM, David Macek wrote: >> According to has_exec_chars, the sniffing routine also looks for "MZ" (EXE/PE >> files) and ":\n" (batch files? (can anyone confirm this?)). > > Yeah, I can confirm that it does nothing.
AFAIK `file` doesn't consult this routine in any way. Try this instead: $ mount "$(cygpath -m "$TMP")" /home -o noacl $ cd /home $ touch alpha.sh bravo.sh charlie.bat delta.bat $ echo '#!/bin/sh' > bravo.sh $ echo : > delta.bat $ ls -l -rw-r--r-- 1 me None 0 Apr 18 20:53 alpha.sh -rwxr-xr-x 1 me None 10 Apr 18 20:53 bravo.sh -rw-r--r-- 1 me None 0 Apr 18 20:53 charlie.bat -rwxr-xr-x 1 me None 2 Apr 18 20:53 delta.bat -- David Macek
smime.p7s
Description: S/MIME Cryptographic Signature