logrotate permission question
oliver.marshall at g2support.com
Wed Apr 15 19:27:39 UTC 2009
I've created a logrotate config to roll the php error.log file (/var/log/php/error.log) each week. This works fine but the new error.log file that's left (created) after the log is rolled only has permissions for root to read/write, but it appears that it also needs to have www-data read/write for the apache process to write to it.
Is there a way to get the new log file file to have the right permission whenever it gets rolled ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users