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

Earnie Boyd
Mon Apr 23 11:33:00 GMT 2012

On Mon, Apr 23, 2012 at 7:02 AM, Michel Bardiaux <> wrote:
> [snip]
>> lgiambro@lorien ~
>> $ cat
>> #!/bin/sh
>> echo it works
> And man sh states " --norc Do  not  read  and  execute the personal
> initialization file ~/.bashrc if the
>              shell is interactive.  This option is on by default if the
> shell  is  invoked
>              as sh."
> Which eliminates bashrc as a possible culprit.

bash as sh will use ~/.profile in interactive and -login mode.  My
guess is the remote disk handler is causing Cygwin to not see the file
as executable.


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list