This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bug in csh/tcsh 6.12 (and later): ignoring 'x' attribute on files in path
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 8 Jul 2004 11:22:18 +0200
- Subject: Re: Bug in csh/tcsh 6.12 (and later): ignoring 'x' attribute on files in path
- References: <20040707082006.99947.qmail@web90110.mail.scd.yahoo.com>
- Reply-to: cygwin at cygwin dot com
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: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/