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 
> <len.giambr...@intersystems.com> 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

Reply via email to