aboutsummaryrefslogtreecommitdiff
path: root/io.go
diff options
context:
space:
mode:
Diffstat (limited to 'io.go')
-rw-r--r--io.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.go b/io.go
index 0809259..ab8611f 100644
--- a/io.go
+++ b/io.go
@@ -15,7 +15,7 @@ func openOutput(path string) (io.WriteCloser, error) {
if path == "stdout" {
out = os.Stdout
} else {
- out, err = os.OpenFile(path, os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC, 0700)
+ out, err = os.OpenFile(path, os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC, 0640)
if err != nil {
return nil, err
}