Skip to content

"insecure permissions" error fron logrotate cron task #713

Closed
@jpkorva

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.

Metadata

Assignees

No one assigned

    Labels

    area/packagingbugunexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions