The path walk code needs to understand the difference between lookup for create, and other lookups. Incorrect error messages are returned in the case where a directory has : -w- permissions.
Patches from Volker to follow.
Created attachment 9168 [details]
This would be a patchset for 4.1
(In reply to comment #1)
> Created attachment 9168 [details]
> This would be a patchset for 4.1
... which also applies to 4.0
Comment on attachment 9168 [details]
LGTM for 4.0.x, 4.1.0 !
Re-assigning to Karolin for inclusion in 4.0.next, 4.1.0.
Created attachment 9170 [details]
git-am backport of the 4.1/4.0 patch to 3.6.x.
Volker please review for 3.6.next.
Thanks Volker. Karen please push to 3.6.next, 4.0.next, 4.1.0.
Pushed to v3-6-test, autobuild-v4-0-test, autobuild-v4-1-test.
Pushed to v4-1-test and v4-0-test.
Closing out bug report.