os: MkdirAll fails if permissions do not include execute for owner #22323
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.9.1 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
No error. Directories are created with the provided permission bits (modified by umask).
Or, following the rules as described for
mkdir -p
:What did you see instead?
The directory
foo
is created (with perms as expected after including umask), but the directoryfoo/bar
is not.The text was updated successfully, but these errors were encountered: