error: Ignoring /etc/logrotate.conf because it is writable by group or others

error: Ignoring /etc/logrotate.conf because it is writable by group or others

error: Ignoring /etc/logrotate.conf because it is writable by group or others

我从我的 crontab 日志中得到这个错误

4 -rw-r--r-- 1 root root 520 Mar 27 12:15 logrotate.conf

644 logrotate.conf,我该如何解决这个问题?

将 chmod 644 赋给 logrotate.d 文件夹中的文件。