4dc073ba8d
- Fix bz 590566 aide reports a changed file when it has not been changed
15 lines
514 B
Diff
15 lines
514 B
Diff
diff -urp aide-0.14.orig/src/gen_list.c aide-0.14/src/gen_list.c
|
|
--- aide-0.14.orig/src/gen_list.c 2010-05-15 10:32:49.000000000 -0400
|
|
+++ aide-0.14/src/gen_list.c 2010-05-15 13:10:08.000000000 -0400
|
|
@@ -1007,7 +1007,9 @@ void strip_dbline(db_line* line,DB_ATTR_
|
|
if(!(attr&DB_LINKNAME)){
|
|
checked_free(line->linkname);
|
|
}
|
|
- /* permissions are always needed for summarize_changes, hence it is never stripped */
|
|
+ if(!(attr&DB_PERM)){
|
|
+ line->perm=0;
|
|
+ }
|
|
if(!(attr&DB_UID)){
|
|
line->uid=0;
|
|
}
|