Subject: RE: cygwin 1.7.13-1: can't execute shell scripts on samba share
From: "Michel Bardiaux" <[email-masked]>
Cc: <[email-masked]>
Date: Thu, 19 Apr 2012 10:28:19 +0200
List-Id: <cygwin.cygwin.com>

2 suggestions:

1. What happens if len.sh is in your Cygwin home, that is on the local
drive?

2. What happens with "sh -x ./len.sh" (on the network drive)?

HaND,

-----Original Message-----

No.  That works.  presumably because it's executing "bash" and not the
script itself.

-Len

On Apr 18, 2012, at 1:49 PM, Earnie Boyd wrote:

> On Wed, Apr 18, 2012 at 11:44 AM, Len Giambrone 
> <[email-masked]> wrote:
>> I'm can't execute shell scripts on a samba share served by our linux
boxes.
>> 
>> lgiambro@lorien //kitserver/kits
>> $ ls -la len.sh
>> -rwx------ 1 lgiambro releng 24 Apr 18 10:48 len.sh
>> 
>> lgiambro@lorien //kitserver/kits
>> $ cat len.sh
>> #!/bin/sh
>> echo it works
>> 
>> lgiambro@lorien //kitserver/kits
>> $ ./len.sh
>> -bash: ./len.sh: Permission denied
> 
> I suppose the same happens if you execute len.sh similar to the
following?
> 
> $ bash -x ./len.sh
> 

--
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