This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: sh problem
- To: Matthew Smith <matts at bluesguitar dot org>
- Subject: Re: sh problem
- From: Corinna Vinschen <vinschen at cygnus dot com>
- Date: Fri, 28 Jul 2000 22:39:21 +0200
- CC: Cygwin <cygwin at sourceware dot cygnus dot com>
- References: <001b01bff8ca$f3dfdcc0$3c5350d8@guinness>
- Reply-To: cygwin <cygwin at sources dot redhat dot com>
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