Once upon a time, Bryn M. Reeves bmr@redhat.com said:
On 07/17/2013 03:47 PM, Suvayu Ali wrote:
I thought changing the permission on /var/log/messages will cause problems with syslog, no?
Maybe you are thinking of logrotate? If you make changes by hand these will be undone when the logs are rotated if the configuration differs from the file system.
Again, nope, at least for common log files. logrotate copies the current ownership/permissions to the new files, unless otherwise configured (and only a few files have that set in the default config; they probably shouldn't either).