summaryrefslogtreecommitdiffstats
path: root/vendor/go.uber.org/zap/sink.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/go.uber.org/zap/sink.go')
-rw-r--r--vendor/go.uber.org/zap/sink.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/go.uber.org/zap/sink.go b/vendor/go.uber.org/zap/sink.go
index ff0becfe..df46fa87 100644
--- a/vendor/go.uber.org/zap/sink.go
+++ b/vendor/go.uber.org/zap/sink.go
@@ -136,7 +136,7 @@ func newFileSink(u *url.URL) (Sink, error) {
case "stderr":
return nopCloserSink{os.Stderr}, nil
}
- return os.OpenFile(u.Path, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0644)
+ return os.OpenFile(u.Path, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0666)
}
func normalizeScheme(s string) (string, error) {