Avatar photoTelium Support Group
Participant
Post count: 262

The HAAst log file or its parent directory has world write permissions, and newer versions of logrotate do not allow this to rotate. Manually running logrotate shows the results below:

$logrotate -d -v haast
reading config file haast
Handling 1 logs
rotating pattern: /var/log/haast after 1 days (7 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/haast
error: skipping “/var/log/haast” because parent directory has insecure permissions

The solution is to uncomment the line in the /etc/logrotate.d/haast file to allow rotating regardless of permission:

su root root