/var/adm is owned by root:sys and has 775 permissions

--- logrotate-3.16.0/logrotate.c.orig	2020-05-24 15:11:54.810966756 +0000
+++ logrotate-3.16.0/logrotate.c	2020-05-24 15:12:24.877921136 +0000
@@ -1260,7 +1260,7 @@
             return 0;
         }
         /* Don't rotate in directories writable by others or group which is not "root"  */
-        if ((sb.st_gid != 0 && (sb.st_mode & S_IWGRP)) || (sb.st_mode & S_IWOTH)) {
+        if ((sb.st_gid != 0 && sb.st_gid != 3 && (sb.st_mode & S_IWGRP)) || sb.st_mode & S_IWOTH) {
             message(MESS_ERROR, "skipping \"%s\" 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"