Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3981EF79.D641E288@cygnus.com>
Date: Fri, 28 Jul 2000 22:39:21 +0200
From: Corinna Vinschen <vinschen@cygnus.com>
Reply-To: cygwin <cygwin@sources.redhat.com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Matthew Smith <matts@bluesguitar.org>
CC: Cygwin <cygwin@sourceware.cygnus.com>
Subject: Re: sh problem
References: <001b01bff8ca$f3dfdcc0$3c5350d8@guinness>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Matthew Smith wrote:
> 
> I'm having some problems with sh under windows 2k.  It seems if I try
> writing a script that references ".", as in:
> 
> #!/bin/sh
> 
> # access some other shell script
> ./myscript.sh
> 
> This will fail under windows 2k, but works fine under NT 4.  Is this a known
> problem?

There's no difference between NT and W2K which might explain
that.

Are you sure that you have identical settings?

For example if you are using ntsec on W2K while not on NT that
could be a reason. When not using ntsec, the file is identified
as executable by it's magic number `#!'. When ntsec is on, it is
executable only if the executable bit is set in it's security
descriptor.

Just a hint,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

