Public bug reported:

In focal, /etc/logrotate.conf contains:

   su root adm

logrotate does not rotate files in /var/log:

   error: skipping "/var/log/syslog" 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.

Parent directory permissions:

  drwxrwxr-x  9 root syslog 4096 Apr 29 17:17 log

** Affects: logrotate (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875950

Title:
  rsyslog log files failing to rotate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1875950/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to