cygwin 1.7.13-1: can't execute shell scripts on samba share

Michel Bardiaux MBardiaux@mediaxim.be
Thu Apr 19 08:29:00 GMT 2012


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.Giambrone@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



More information about the Cygwin mailing list