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


On Mon, Apr 23, 2012 at 7:02 AM, Michel Bardiaux <MBardiaux@mediaxim.be> wrote:
> [snip]
>
>> lgiambro@lorien ~
>> $ cat len.sh
>> #!/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.

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


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