diff options
| author | Kato Kazuyoshi <kato.kazuyoshi@gmail.com> | 2014-12-22 21:05:07 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2015-03-20 18:33:00 +0000 |
| commit | 9c0b145e4ca75df68da0fb11fb122bcc3b6eff27 (patch) | |
| tree | 81a652cb997d9151b34ec1a573d2c0748a683569 /src/os/exec/exec.go | |
| parent | 69b2f70fa11a6d801eb852daf27948e92010362d (diff) | |
| download | go-9c0b145e4ca75df68da0fb11fb122bcc3b6eff27.tar.xz | |
os: don't return Chmod's error from Mkdir and OpenFile
Mkdir and OpenFile call Chmod internally on *BSD and Solaris,
because these OSes don't handle the sticky bit correctly.
However Chmod's error should be ignored. It shouldn't hide
the fact that a file itself is created.
Fixes #8383
Change-Id: Ia2e0b2ba72712d73a0a48ba5a263432e0fff31a5
Reviewed-on: https://go-review.googlesource.com/2057
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions
