delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/08/05:22:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 8 Jul 2004 11:22:18 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bug in csh/tcsh 6.12 (and later): ignoring 'x' attribute on files in path
Message-ID: <20040708092218.GB1389@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20040707082006 DOT 99947 DOT qmail AT web90110 DOT mail DOT scd DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20040707082006.99947.qmail@web90110.mail.scd.yahoo.com>
User-Agent: Mutt/1.4.2i

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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019