Blame SOURCES/audit-2.6.5-directory-permissions.patch

c672a9
diff -urp audit-2.6.5.orig/src/auditd-event.c audit-2.6.5/src/auditd-event.c
c672a9
--- audit-2.6.5.orig/src/auditd-event.c	2016-07-13 12:14:36.000000000 -0400
c672a9
+++ audit-2.6.5/src/auditd-event.c	2016-07-22 10:37:45.468455518 -0400
c672a9
@@ -900,7 +900,7 @@ static void fix_disk_permissions(void)
c672a9
 	// Start with the directory
c672a9
 	strcpy(path, config->log_file);
c672a9
 	dir = dirname(path);
c672a9
-	chmod(dir, config->log_group ? S_IRWXU|S_IRWXG : S_IRWXU);
c672a9
+	chmod(dir, config->log_group ? S_IRWXU|S_IRGRP|S_IXGRP : S_IRWXU);
c672a9
 	chown(dir, 0, config->log_group ? config->log_group : 0);
c672a9
 
c672a9
 	// Now, for each file...