natefinch / lumberjack

lumberjack is a log rolling package for Go
MIT License
4.79k stars 591 forks source link

log file's folder permission update to 0755 #71

Closed songjiayang closed 5 years ago

songjiayang commented 5 years ago

How about use 0755 rather than 0744 for log file's folder permission, the code line is https://github.com/natefinch/lumberjack/blob/v2.0/lumberjack.go#L209

Because sometimes we login to check log file with different user, there is a file read error for reading: Permission denied.