The log file (/var/www/shaarli/data/log.txt) is not owned by root, so logrotate fails:
logrotate[1744762]: error: skipping "/var/www/shaarli/data/log.txt" 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.
Adding this line to the logrotate file fixes the issue:
The log file (
/var/www/shaarli/data/log.txt
) is not owned by root, so logrotate fails:Adding this line to the logrotate file fixes the issue:
so the install and upgrade scripts should have :