Blob Blame History Raw
diff -urp audit-2.6.5.orig/src/auditd-event.c audit-2.6.5/src/auditd-event.c
--- audit-2.6.5.orig/src/auditd-event.c	2016-07-14 10:25:39.000000000 -0400
+++ audit-2.6.5/src/auditd-event.c	2016-08-10 09:24:41.450386810 -0400
@@ -907,8 +907,7 @@ static void fix_disk_permissions(void)
 	for (i = 1; i < config->num_logs; i++) {
 		int rc;
 		snprintf(path, len, "%s.%d", config->log_file, i);
-		rc = chmod(path, config->log_group ? S_IWUSR|S_IRUSR|S_IRGRP :
-			S_IWUSR|S_IRUSR);
+		rc = chmod(path, config->log_group ? S_IRUSR|S_IRGRP : S_IRUSR);
 		if (rc && errno == ENOENT)
 			break;
 	}