This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin 1.7.13-1: can't execute shell scripts on samba share
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
>
> --
> Earnie
> -- https://sites.google.com/site/earnieboyd
>
> --
> 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