X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,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 To: "cygwin AT cygwin DOT com" Subject: cygwin 1.7.13-1: can't execute shell scripts on samba share Date: Wed, 18 Apr 2012 15:44:51 +0000 Message-ID: <1E3D6F97-F938-420C-A5F7-C6446EC27F32@intersystems.com> Content-Type: text/plain; charset="us-ascii" Content-ID: <82270D87297419449DAA052CE156A7B5 AT exchangemail DOT iscinternal DOT com> MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q3IFjxjX015359 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 can execute a .bat file from a cmd window just fine, so this makes me think this might be a Cygwin issue. (If it's not an equivalent or good test, please let me know a better one). getfacl says: lgiambro AT lorien //kitserver/kits $ getfacl len.sh # file: len.sh # owner: lgiambro # group: releng user::rwx group::--- mask:rwx other:--- cacls says its executable: lgiambro AT lorien //kitserver/kits $ cacls len.sh \\kitserver\kits\len.sh (special access:) READ_CONTROL WRITE_DAC WRITE_OWNER SYNCHRONIZE FILE_GENERIC_READ FILE_GENERIC_WRITE FILE_GENERIC_EXECUTE FILE_READ_DATA FILE_WRITE_DATA FILE_APPEND_DATA FILE_READ_EA FILE_WRITE_EA FILE_EXECUTE FILE_DELETE_CHILD FILE_READ_ATTRIBUTES FILE_WRITE_ATTRIBUTES (special access:) Everyone:(special access:) What else can/should I look for? Any help would be appreciated. -Len -- 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