diff options
| author | Baokun Lee <nototon@gmail.com> | 2019-05-09 11:24:30 +0800 |
|---|---|---|
| committer | Bryan C. Mills <bcmills@google.com> | 2019-05-15 14:32:33 +0000 |
| commit | cefc0bbc9011baa62a8284d61452ba33245e8455 (patch) | |
| tree | 000d45d67d5b22194d1a2e3e33eef2150bf351d8 /src/syscall/exec_linux.go | |
| parent | 1e3ffb0c902fc282469e7748ce066ee9ea7a6580 (diff) | |
| download | go-cefc0bbc9011baa62a8284d61452ba33245e8455.tar.xz | |
cmd/go/internal/renameio: allow write file with the specified permissions
Now renameio package creates file use ioutil.TempFile, which calls
OpenFile with mode 0600, we should support creates a file with given
permission bits.
Fixes #31871
Change-Id: I0436e9f7081f2fce18bf9f3b14d55b02d4d995fb
Reviewed-on: https://go-review.googlesource.com/c/go/+/175958
Run-TryBot: Baokun Lee <nototon@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions
