This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't execute scripts from a samba share with 1.7


On Aug 10 19:04, Corinna Vinschen wrote:
> On Aug 10 17:42, Jon TURNEY wrote:
> > I also have this problem in it's second (noacl) form.  With this mount
> >
> > //necker/jon on /home/jon type smbfs (binary,exec,noacl,user)
> >
> > running the t.sh test script fails in a directory on this mount
> >
> > Jon@byron ~
> > $ ls -al t.sh
> > -rwxr-xr-x 1 Jon None 19 2009-08-06 15:46 t.sh
> >
> > Jon@byron ~
> > $ ./t.sh
> > -bash: ./t.sh: /bin/sh: bad interpreter: Permission denied
> >
> > but works fine in a different directory
> 
> This is really strange.  The bad interpreter message means that
> bash could not start /bin/sh.  I can only reproduce this effect
> if I chmod -x /bin/sh.  Did you create an strace and tried to
> see what happens?

Never mind, I can reproduce it.  I'll have a look into it.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]