]> Cypherpunks repositories - gostls13.git/commit
cmd/go: make module .zip files group/world readable
authorDmitri Goutnik <dgoutnik@gmail.com>
Sat, 7 May 2022 21:10:16 +0000 (16:10 -0500)
committerBryan Mills <bcmills@google.com>
Wed, 22 Jun 2022 21:27:19 +0000 (21:27 +0000)
commit2a3b467d5f8de04a3493b7ab8cd886e109bd9283
tree899105739f878a58c9889935a30c40d50ee7c93d
parentbdab4cf47a47b69caacad6fd7ff6ab27bb22ab1c
cmd/go: make module .zip files group/world readable

os.CreateTemp in downloadZip leaves downloaded .zip files readable only
by the owner. Make them group/world readable.

Fixes #52765

Change-Id: Iace13e4ad813201a533a1a5fc0c6d9b2e5349a42
Reviewed-on: https://go-review.googlesource.com/c/go/+/404854
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
src/cmd/go/internal/modfetch/fetch.go