diff --git a/src/jobservice/logger/backend/file_logger.go b/src/jobservice/logger/backend/file_logger.go index 0dc454bbc..53834ade7 100644 --- a/src/jobservice/logger/backend/file_logger.go +++ b/src/jobservice/logger/backend/file_logger.go @@ -16,7 +16,7 @@ type FileLogger struct { // NewFileLogger crates a new file logger // nil might be returned func NewFileLogger(level string, logPath string, depth int) (*FileLogger, error) { - f, err := os.OpenFile(logPath, os.O_CREATE|os.O_WRONLY, 0644) + f, err := os.OpenFile(logPath, os.O_CREATE|os.O_WRONLY, 0600) if err != nil { return nil, err }