GetSecureScore

How to Change Default Permissions of /var/log on Linux

By default, /var/log/messages* are created with read-write permissions for ‘root’ user only. There might be a requirement to make the log files world readable for eg to allow an application to read and process the data in it. It is best to only change $umask once and use $FileCreateMode instead to change the mode. Add the Read More