delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/12/08:37:35

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4A82B787.3030600@dronecode.org.uk>
Date: Wed, 12 Aug 2009 13:37:27 +0100
From: Jon TURNEY <jon DOT turney AT dronecode DOT org DOT uk>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Can't execute scripts from a samba share with 1.7
References: <h5cqnj$c9f$1 AT ger DOT gmane DOT org> <20090806142010 DOT GE3204 AT calimero DOT vinschen DOT de> <h5f54a$nkt$1 AT ger DOT gmane DOT org> <4A804DFD DOT 6090609 AT dronecode DOT org DOT uk> <20090810170407 DOT GX3204 AT calimero DOT vinschen DOT de> <20090810181839 DOT GA29550 AT calimero DOT vinschen DOT de>
In-Reply-To: <20090810181839.GA29550@calimero.vinschen.de>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

On 10/08/2009 19:18, Corinna Vinschen wrote:
> On Aug 10 19:04, Corinna Vinschen wrote:
>> On Aug 10 17:42, Jon TURNEY wrote:
>>> I also have this problem in it's second (noacl) form.  With this mount
>>>
>>> //necker/jon on /home/jon type smbfs (binary,exec,noacl,user)
>>>
>>> running the t.sh test script fails in a directory on this mount
>>>
>>> Jon AT byron ~
>>> $ ls -al t.sh
>>> -rwxr-xr-x 1 Jon None 19 2009-08-06 15:46 t.sh
>>>
>>> Jon AT byron ~
>>> $ ./t.sh
>>> -bash: ./t.sh: /bin/sh: bad interpreter: Permission denied
>>>
>>> but works fine in a different directory
>>
>> This is really strange.  The bad interpreter message means that
>> bash could not start /bin/sh.  I can only reproduce this effect
>> if I chmod -x /bin/sh.  Did you create an strace and tried to
>> see what happens?
>
> Never mind, I can reproduce it.  I'll have a look into it.

Confirming this is fixed in 1.7.0-57.  Thanks!

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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