public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Len Giambrone <Len.Giambrone@intersystems.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: cygwin 1.7.13-1: can't execute shell scripts on samba share
Date: Wed, 18 Apr 2012 15:45:00 -0000	[thread overview]
Message-ID: <1E3D6F97-F938-420C-A5F7-C6446EC27F32@intersystems.com> (raw)

I'm can't execute shell scripts on a samba share served by our linux boxes.

lgiambro@lorien //kitserver/kits
$ ls -la len.sh
-rwx------ 1 lgiambro releng 24 Apr 18 10:48 len.sh

lgiambro@lorien //kitserver/kits
$ cat len.sh
#!/bin/sh
echo it works

lgiambro@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@lorien //kitserver/kits
$ getfacl len.sh
# file: len.sh
# owner: lgiambro
# group: releng
user::rwx
group::---
mask:rwx
other:---

cacls says its executable:

lgiambro@lorien //kitserver/kits
$ cacls len.sh
\\kitserver\kits\len.sh <Account Domain not found>(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

                        <Account Domain not found>(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

             reply	other threads:[~2012-04-18 15:45 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18 15:45 Len Giambrone [this message]
2012-04-18 17:49 ` Earnie Boyd
2012-04-18 19:45   ` Len Giambrone
2012-04-19  8:29     ` Michel Bardiaux
2012-04-20 17:44       ` Len Giambrone
2012-04-19 11:37     ` Earnie Boyd
2012-04-20 17:45       ` Len Giambrone
2012-04-23 11:02         ` Michel Bardiaux
2012-04-23 11:33           ` Earnie Boyd
2012-04-23 11:54           ` Corinna Vinschen
2012-04-23 12:26             ` Michel Bardiaux
2012-04-23 12:31               ` Corinna Vinschen
2012-04-23 12:44                 ` Michel Bardiaux
2012-04-23 12:29             ` Corinna Vinschen
2012-04-24 10:50           ` Andrey Repin
2012-04-24 12:15             ` Michel Bardiaux
2012-04-24 15:05               ` Andrey Repin
2012-04-24 15:20                 ` Michel Bardiaux
2012-04-24 17:20                   ` Andrey Repin
2012-04-26 14:18                     ` Michel Bardiaux
2012-04-26 18:50                       ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1E3D6F97-F938-420C-A5F7-C6446EC27F32@intersystems.com \
    --to=len.giambrone@intersystems.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).