]> Cypherpunks repositories - gostls13.git/commit
cmd/go: respect umask when creating executables
authorRuss Cox <rsc@golang.org>
Thu, 17 Dec 2015 06:38:14 +0000 (01:38 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 17 Dec 2015 19:24:06 +0000 (19:24 +0000)
commit0cb68acea2e82f6e071804d4d890271103f83c7b
tree3098552c7340f97aeff5adcf464536f9834c94e6
parent807c6c58fc7de3cdabe41d71c9e18ddaa1870cab
cmd/go: respect umask when creating executables

Also update many call sites where I forgot that the permission
argument is going to be masked by umask.

Fixes #12692.

Change-Id: I52b315b06236122ca020950447863fa396b68abd
Reviewed-on: https://go-review.googlesource.com/17950
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/build.go
src/cmd/go/go_unix_test.go [new file with mode: 0644]