Skip to content

non-pi logrotate file permissions incorrect #49

@borpin

Description

@borpin

@TrystanLea

sudo chown root /etc/logrotate.d/emoncms

On running the logrotate on Ubuntu the following error is seen

brian@ubunt-emon:/var/log/emoncms$ sudo /usr/sbin/logrotate /etc/logrotate.conf
error: Ignoring emoncms because of bad file mode - must be 0644 or 0444.

But I could not fix it for some reason...

Changed mode and works fine. Probably the same problem for all these logrotate configurations.

Test with

sudo /usr/sbin/logrotate /etc/logrotate.conf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions