What is the purpose of this change? What does it change?
ioutil.TempFile always creates files with permissions 0600. Use a custom method to be able to honor the FileMode configured in repo.go. Note that this is not a user visible change as the option is not exposed anywhere.
Was the change discussed in an issue or in the forum before?
What is the purpose of this change? What does it change?
ioutil.TempFile
always creates files with permissions0600
. Use a custom method to be able to honor theFileMode
configured inrepo.go
. Note that this is not a user visible change as the option is not exposed anywhere.Was the change discussed in an issue or in the forum before?
See #166.
Checklist
[ ] I have added documentation for the changes (in the manual)[ ] There's a new file inchangelog/unreleased/
that describes the changes for our users (template here)gofmt
on the code in all commits