Bugzilla – Bug 894785
daily cronjob complains about /var/lib/mysql/ permissions
Last modified: 2014-09-04 17:41:00 UTC
I just found out today, that since I installed MariaDB in May I get a daily mail that looks like this: Subject: cronjob@lovelace - daily - FAILURE User-Agent: Heirloom mailx 12.5 7/5/10 running daily cronjob scripts SCRIPT: output (stdout && stderr) follows error: skipping "/var/log/mysql/mysqld.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. compress_ext is /usr/bin/xz compress_ext was changed to .xz SCRIPT: logrotate ------- END OF OUTPUT SCRIPT: mlocate.cron exited with RETURNCODE = 1. SCRIPT: output (stdout && stderr) follows /usr/bin/updatedb: unexpected operand on command line SCRIPT: mlocate.cron ------- END OF OUTPUT
Actually it is logrotate that complains and it is for /var/log/mysql/. It has been reported before. *** This bug has been marked as a duplicate of bug 840079 ***