Change log file permissions from 0660 to 0644

This commit is contained in:
Mark Bell 2015-08-08 23:06:30 -04:00
parent 81790aed13
commit e59ea1aa02

View File

@ -144,7 +144,7 @@ func (w *FileLogWriter) WriteMsg(msg string, skip, level int) error {
func (w *FileLogWriter) createLogFile() (*os.File, error) {
// Open the log file
return os.OpenFile(w.Filename, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0660)
return os.OpenFile(w.Filename, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0644)
}
func (w *FileLogWriter) initFd() error {