This is the mail archive of the
mailing list for the Cygwin project.
FW: cygwin 1.7.13-1: can't execute shell scripts on samba share
- From: "Michel Bardiaux" <MBardiaux at mediaxim dot be>
- To: <cygwin at cygwin dot com>
- Date: Mon, 23 Apr 2012 14:58:27 +0200
- Subject: FW: cygwin 1.7.13-1: can't execute shell scripts on samba share
Sorry, forgot to change the recipient.
>> lgiambro@lorien ~
>> $ cat len.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.
Yes, I forgot about .profile. The OP should check his .profile does nothing that could cause it to fail when the current directory is a samba share.
> My guess is the remote disk handler is causing Cygwin to not see the file as executable.
Then why would getfacl, and ls, say it *is* executable? (In the OP case; in my case you are absolutely right).