This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



-Len




On Apr 19, 2012, at 4:29 AM, Michel Bardiaux wrote:

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

lgiambro@lorien ~
$ ./len.sh
it works

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

lgiambro@lorien //kitserver/kits
$ sh -x ./len.sh
+ echo it works
it works


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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]