Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daily error message #2

Open
anmol26s opened this issue Dec 1, 2015 · 1 comment
Open

Daily error message #2

anmol26s opened this issue Dec 1, 2015 · 1 comment

Comments

@anmol26s
Copy link

anmol26s commented Dec 1, 2015

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 added a commit that referenced this issue Dec 11, 2015
@Josue-T
Copy link
Owner

Josue-T commented Dec 11, 2015

Hello,

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

Thanks

Josue-T added a commit that referenced this issue Mar 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants