Topic: logrotate issues on Centos 7
Good day.
We have faced with issue on Centos 7 for php-fpm.d:
For example:
/etc/cron.daily/logrotate:
error: skipping "/var/log/php-fpm/error.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
Rights is: drwxrwx--- 2 root apache 4096 Mar 19 07:58 .
As I see, on Centos 5 the rights is the same, but no error on logrotate.
Can you comment on it? Thank you.