Hi
I get a error message on the daily basis on my mail.
etc/cron.daily/logrotate:
error: skipping "/var/log/spectrum2/transwhat.domain.tld/spectrum2.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.
error: skipping "/var/log/spectrum2/transwhat.domail.tld/backends/backend.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.
run-parts: /etc/cron.daily/logrotate exited with return code 1
Can you fix and update the package?
Barn on yunohost support suggested the solution but he believes there might be better solution.
His suggestion was:
chmod 755 /var/log/spectrum2/transwhat.domain.tld/
chown root:root /var/log/spectrum2/transwhat.domain.tld/
Hi I get a error message on the daily basis on my mail.
etc/cron.daily/logrotate: error: skipping "/var/log/spectrum2/transwhat.domain.tld/spectrum2.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. error: skipping "/var/log/spectrum2/transwhat.domail.tld/backends/backend.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. run-parts: /etc/cron.daily/logrotate exited with return code 1
Can you fix and update the package? Barn on yunohost support suggested the solution but he believes there might be better solution. His suggestion was: chmod 755 /var/log/spectrum2/transwhat.domain.tld/ chown root:root /var/log/spectrum2/transwhat.domain.tld/
Thanks