delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,TW_RW,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
X-InterSystems: | Sent from InterSystems |
X-InterSystems: | Sent from InterSystems |
X-InterSystems: | Sent from InterSystems |
From: | Len Giambrone <Len DOT Giambrone AT intersystems DOT com> |
To: | Michel Bardiaux <MBardiaux AT mediaxim DOT be> |
CC: | "<cygwin AT cygwin DOT com>" <cygwin AT cygwin DOT com> |
Subject: | Re: cygwin 1.7.13-1: can't execute shell scripts on samba share |
Date: | Fri, 20 Apr 2012 17:44:21 +0000 |
Message-ID: | <F3BCC570-26AD-4710-8612-F6D366E9EA57@intersystems.com> |
References: | <1E3D6F97-F938-420C-A5F7-C6446EC27F32 AT intersystems DOT com> <CA+sc5mkcWZZcskBqSCgKJqzTh1-CwbyF_Z83Bsox2zPMtk5v9A AT mail DOT gmail DOT com> <1883CD3D-75CE-4289-A5F9-317DE2ED7F28 AT intersystems DOT com> <6BFA9AF2C7556E42AFF3F187ECAB07B802EC895B AT bespdc01 DOT mediaxim DOT local> |
In-Reply-To: | <6BFA9AF2C7556E42AFF3F187ECAB07B802EC895B@bespdc01.mediaxim.local> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q3KHijMB023465 |
-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 AT lorien ~ $ ./len.sh it works > > 2. What happens with "sh -x ./len.sh" (on the network drive)? > lgiambro AT 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 DOT Giambrone AT intersystems DOT com> wrote: >>> I'm can't execute shell scripts on a samba share served by our linux > boxes. >>> >>> lgiambro AT lorien //kitserver/kits >>> $ ls -la len.sh >>> -rwx------ 1 lgiambro releng 24 Apr 18 10:48 len.sh >>> >>> lgiambro AT lorien //kitserver/kits >>> $ cat len.sh >>> #!/bin/sh >>> echo it works >>> >>> lgiambro AT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |