Found by guenther. Code in open_file_ntcreate() manipulates the incoming posix bits when it shouldn't. Patch in master to follow. Jeremy.
Created attachment 6973 [details] git-am fix for 3.6.1 Guenther, here is the patch for 3.6.1. Please +1 and I'll re-assign to Karolin for inclusion.
Created attachment 6974 [details] git-am fix for 3.5.x. git-am fix for 3.5.x.
Comment on attachment 6974 [details] git-am fix for 3.5.x. looka good
Comment on attachment 6973 [details] git-am fix for 3.6.1 looks good
Karolin, please add to 3.5.x and 3.6.1. Thanks! Guenther
Pushed to v3-5-test and v3-6-test. Closing out bug report. Thanks!