Cron error after update to 2.0.20
Hi,
after the last update to 2.0.20 I get this error by mail:
/etc/cron.daily/logrotate: error: skipping "/var/log/admin-app/dev.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/admin-app/prod.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/admin-app/test.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
any hint how to fix this?
thanks a lot!
Comments (7)
-
-
reporter Yes, after restarting the container I keep receiving the error by mail.
I upgraded from 2.0.19 to 20.0.20
-
What are the permissions on you /data directory?
-
reporter Here's a screenshot
-
repo owner - changed status to resolved
already fixed in 2.0.21 (:development in pro repository)
-
reporter thx for taking care! 👍🏻
-
Hi, after upgrading to 2.0.23 i still have the same cron error :
#! /etc/cron.daily/logrotate: error: skipping "/var/log/admin-app/dev.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/admin-app/prod.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/admin-app/test.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
My data directory :
Happy xmas :)
- Log in to comment
Hi... do you continue to receive this error after restarting your poste.io container? What version did you upgrade from?