Description of problem: I am getting the following errors from logrotate: error: skipping "/var/log/cobbler/cobbler.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/cobbler/tasks/*.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/cobbler/install.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. # ll -d /var/log/cobbler/ drwxrwxr-x. 6 root apache 4096 Aug 10 04:25 /var/log/cobbler/ # ll /var/log/cobbler/ total 36 drwxr-xr-x. 2 root root 4096 Aug 10 04:25 anamon -rw-r--r--. 1 root root 19296 Aug 30 13:06 cobbler.log drwxrwxr-x. 2 root apache 4096 Aug 10 04:25 kicklog drwxr-xr-x. 2 root root 4096 Aug 10 04:25 syslog drwxrwxr-x. 2 root apache 4096 Aug 10 04:25 tasks Version-Release number of selected component (if applicable): # rpm -qa|grep cobbler cobbler20-2.0.11-78.el7.noarch How reproducible: always
Fixed in PR2: https://github.com/spacewalkproject/cobbler/pull/2
note, this also shows up in Spacewalk 2.9.
This has been fixed in the latest Master
https://github.com/spacewalkproject/cobbler/pull/2/commits/97baaf1398f1a38f6f947e93e2334913724fa220
*** Bug 1725122 has been marked as a duplicate of this bug. ***
Spacewalk 2.10 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes210