Permissions on /var/log/ files

Bryn M. Reeves bmr at redhat.com
Wed Jul 17 15:17:24 UTC 2013


On 07/17/2013 04:01 PM, Chris Adams wrote:

> 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).

*if the configuration differs from the file system.*

I'm trying to help Suvayu understand what he's getting confused over.
Conflicts between logrotate and manual changes are certainly more likely
than "something bad happened to syslog".

If you're unaware of the permissions control in the logrotate files it's
also somewhat mysterious to track down (I see many admins today who
don't even realise that it exists).

Bryn.



More information about the users mailing list