delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/18/13:49:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_RW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <1E3D6F97-F938-420C-A5F7-C6446EC27F32@intersystems.com>
References: <1E3D6F97-F938-420C-A5F7-C6446EC27F32 AT intersystems DOT com>
Date: Wed, 18 Apr 2012 13:48:45 -0400
Message-ID: <CA+sc5mkcWZZcskBqSCgKJqzTh1-CwbyF_Z83Bsox2zPMtk5v9A@mail.gmail.com>
Subject: Re: cygwin 1.7.13-1: can't execute shell scripts on samba share
From: Earnie Boyd <earnie AT users DOT sourceforge DOT net>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019