Josue-T / transwhat_ynh

1 stars 0 forks source link

Daily error message #2

Open anmol26s opened 8 years ago

anmol26s commented 8 years ago

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

Josue-T commented 8 years ago

Hello,

I have changed the access permission on logs directory. You can update this app to correct this error.

Thanks