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: cygwin 1.7.13-1: can't execute shell scripts on samba share


> Greetings, Michel Bardiaux!
>
>> I have also tried the same as you did (len.sh on a samba share) and 
>> saw the same problem. Then I saw that the len.sh got a (cygwin *and* 
>> linux) mode of -rwxrw-r-- *without* doing any chmod. Then I saw that 
>> *every* file I create on the samba share, gets the same mode!
>
> testparm -s
> please.

Yes, this explains a lot - but not completely. The relevant lines being
the create masks:

0744 for global, 0755 for homes (the relevant share in my case), 0022 as
cygwin umask.

I would expect files created on the cygwin side to have 0755 on the
linux side (or possibly masked by global and/or umask). I do not see how
I end up with 0764.

Greetings,
(s) M. Bardiaux

Attachment: testparm.txt
Description: testparm.txt

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