Closed
Description
On Centos 7, the following error appears when using telegraf 0.10.2:
From: Anacron [mailto:root@example.com]
To: root@example.com
Subject: Anacron job 'cron.daily' on example.com/etc/cron.daily/logrotate:
error: skipping "/var/log/telegraf/telegraf.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.
"chmod 755 /var/log/telegraf" fixes the issue.