cygwin 1.7.13-1: can't execute shell scripts on samba share
Michel Bardiaux
MBardiaux@mediaxim.be
Tue Apr 24 12:15:00 GMT 2012
> 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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testparm.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120424/b519aa9a/attachment.txt>
-------------- next part --------------
--
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
More information about the Cygwin
mailing list