delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | Chris Faylor <cgf AT cygnus DOT com> |
Date: | Fri, 29 Sep 2000 16:35:16 -0400 |
To: | cygwin AT sources DOT redhat DOT com |
Subject: | Re: bug in /bin/sh.exe (ash-20000823) |
Message-ID: | <20000929163515.A19235@cygnus.com> |
Reply-To: | cygwin AT sources DOT redhat DOT com |
Mail-Followup-To: | cygwin AT sources DOT redhat DOT com |
References: | <200009292010 DOT WAA14437 AT noisetier DOT inrialpes DOT fr> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.6i |
In-Reply-To: | <200009292010.WAA14437@noisetier.inrialpes.fr>; from Hubert.Garavel@inrialpes.fr on Fri, Sep 29, 2000 at 10:10:24PM +0200 |
On Fri, Sep 29, 2000 at 10:10:24PM +0200, Hubert Garavel wrote: > >Synopsis: >--------- > > /bin/sh.exe fails to execute a binary program > that has no ".exe" extension, if the pathname > used to invoke his executable program contains > at least one slash. > >Comments: >--------- > > This bug was observed both on Windows NT4 and > Windows 2000 Professional. > > This bug also occured with the previous version > of /bin/sh.exe > > This bug does NOT occur with /bin/bash.exe > >How to reproduce the bug >------------------------ > >Open a Cygwin window and type > /bin/sh >to switch from bash to sh. > >Then, type > >cd /tmp > ># part 1 of the test : files without any extension > >cp /bin/echo.exe mytest >mytest ># --> is OK if you have . in $PATH >./mytest ># --> not OK : ./mytest: not found >/tmp/mytest ># --> not OK : /tmp/mytest: not found I can't explain the no path scenario but the basic problem is that mytest doesn't have the executable bit set. This is implied if you have a .exe extension. Otherwise it is off unless you're using CYGWIN=ntsec, are running on an NTFS, and have done a 'chmod a+x mytest'. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |