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

2009-08-12 Thread Jon TURNEY
On 10/08/2009 19:18, Corinna Vinschen wrote: 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

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

2009-08-10 Thread Corinna Vinschen
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 > >

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

2009-08-10 Thread Corinna Vinschen
On Aug 10 17:42, Jon TURNEY wrote: > On 06/08/2009 18:50, Nahor wrote: >> Corinna Vinschen wrote: >>> On Aug 5 13:40, Nahor wrote: If I mount with "noacl", I get a slightly different error but still no cigar: $ ./t.sh -bash: ./t.sh: /bin/sh: bad interpreter: Permission denied >>

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

2009-08-10 Thread Jon TURNEY
On 06/08/2009 18:50, Nahor wrote: Corinna Vinschen wrote: On Aug 5 13:40, Nahor wrote: If I mount with "noacl", I get a slightly different error but still no cigar: $ ./t.sh -bash: ./t.sh: /bin/sh: bad interpreter: Permission denied $ This only happens if your account doesn't have execute perm

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

2009-08-07 Thread Corinna Vinschen
On Aug 6 15:38, Nahor wrote: > Larry Hall (Cygwin) wrote: >> On 08/06/2009 05:25 PM, Nahor wrote: >>> Corinna Vinschen wrote: Note that it doesn't do a simple POSIX permission bit check, rather it calls an OS function asking "does *this* account have the right to execute *that* fil

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

2009-08-06 Thread Nahor
Larry Hall (Cygwin) wrote: On 08/06/2009 05:25 PM, Nahor wrote: Corinna Vinschen wrote: On Aug 6 10:50, Nahor wrote: One weird thing though, the directory permission are 700 and yet I can list the content of the directory, cd in it and add/delete files. So permissions are not consistently chec

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

2009-08-06 Thread Larry Hall (Cygwin)
On 08/06/2009 05:25 PM, Nahor wrote: Corinna Vinschen wrote: On Aug 6 10:50, Nahor wrote: One weird thing though, the directory permission are 700 and yet I can list the content of the directory, cd in it and add/delete files. So permissions are not consistently checked. But then, I assume it's

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

2009-08-06 Thread Nahor
Corinna Vinschen wrote: On Aug 6 10:50, Nahor wrote: One weird thing though, the directory permission are 700 and yet I can list the content of the directory, cd in it and add/delete files. So permissions are not consistently checked. But then, I assume it's because all that is done by

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

2009-08-06 Thread Corinna Vinschen
On Aug 6 10:50, Nahor wrote: > Corinna Vinschen wrote: >> On Aug 5 13:40, Nahor wrote: >> >>> Hi, >>> >>> I have a samba share mounted in cygwin with the following fstab entry: >>> //server/nahor /home/nahor smbfs binary,user,exec,acl,posix=0,cygexec 0 0 >>> >>> Permissions are set correctly:

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

2009-08-06 Thread Nahor
Corinna Vinschen wrote: On Aug 5 13:40, Nahor wrote: Hi, I have a samba share mounted in cygwin with the following fstab entry: //server/nahor /home/nahor smbfs binary,user,exec,acl,posix=0,cygexec 0 0 Permissions are set correctly: $ ls -al -rwxr--r-- 1 nahor Domain Users 19 Aug 5 1

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

2009-08-06 Thread Corinna Vinschen
On Aug 5 13:40, Nahor wrote: > Hi, > > I have a samba share mounted in cygwin with the following fstab entry: > //server/nahor /home/nahor smbfs binary,user,exec,acl,posix=0,cygexec 0 0 > > Permissions are set correctly: > $ ls -al > -rwxr--r-- 1 nahor Domain Users 19 Aug 5 11:46 t.sh > > My