Skip to content

Commit

Permalink
Merge pull request #425 from DopplerHQ/tom/tui-perms
Browse files Browse the repository at this point in the history
chore: restrict tui log perms
  • Loading branch information
Piccirello committed Aug 16, 2023
2 parents e6baf5b + 87a0d31 commit 3fdb11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tui/common/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func newDebugLogger() *logrus.Logger {
if err != nil {
log.Fatal(err)
}
file, err := os.OpenFile(logPath, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0o666)
file, err := os.OpenFile(logPath, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0o600)
if err != nil {
log.Fatalf("Unable to log to log file: %v", err)
}
Expand Down

0 comments on commit 3fdb11d

Please sign in to comment.