On Jul  7 01:20, Tim Hubberstey wrote:
> It appears that csh/tcsh executes any file it finds that matches the
> filename specified as a command, regardless of whether or not the 'x'
> bit is set. I have run the following check on both 6.12 and the latest,
> 6.13-2, on 3 different computers, with the same results.
> 
> % ls -l not_a_script
> -rw-rw-rw- 1 Administ None 20 Jul  6 23:49 not_a_script
> 
> % cat not_a_script
> echo This is wrong!
> 
> % not_a_script
> This is wrong!

It turned out to be a buglet in Cygwin which didn't check for executablity
when it found that a script should be executed.  I've checked in a fix.

Thanks for the report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:[EMAIL PROTECTED]
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/

Reply via email to