public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygwin 1.7.13-1: can't execute shell scripts on samba share
@ 2012-04-18 15:45 Len Giambrone
  2012-04-18 17:49 ` Earnie Boyd
  0 siblings, 1 reply; 21+ messages in thread
From: Len Giambrone @ 2012-04-18 15:45 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2012-04-26 18:50 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-18 15:45 cygwin 1.7.13-1: can't execute shell scripts on samba share Len Giambrone
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

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