perl -x doesn't recognize file as executable

Volker Quetschke quetschke@scytek.de
Tue Jun 7 23:17:00 GMT 2005


Yitzchak Scott-Thoennes wrote:
> (snip)
> perl only checks ACLs if you ask it to.  What does:
>
> $ perl -e 'use filetest "access"; if ( ! -x "/cygdrive/c/Programme/NSIS/NSIS.exe" ) {print "not executable";}'
> not executable
>
> show?

Thank you! Works like a charm :)

Volker

--
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050607/eb7df44e/attachment.sig>


More information about the Cygwin mailing list