aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-02-20 14:35:13 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-02-20 14:35:13 +0000
commitb88e062d89926368a5c21cdc085b6b3b1ebcc02c (patch)
tree2471abdad99286eb7cda68d989ebe86f266f7e25
parentcaaa86243343eac53c48f5e2c121f343d85d2d22 (diff)
downloadmsec-b88e062d89926368a5c21cdc085b6b3b1ebcc02c.tar
msec-b88e062d89926368a5c21cdc085b6b3b1ebcc02c.tar.gz
msec-b88e062d89926368a5c21cdc085b6b3b1ebcc02c.tar.bz2
msec-b88e062d89926368a5c21cdc085b6b3b1ebcc02c.tar.xz
msec-b88e062d89926368a5c21cdc085b6b3b1ebcc02c.zip
Updating permissions on logs changed by logrotate (#47997).
-rw-r--r--msec.logrotate6
1 files changed, 6 insertions, 0 deletions
diff --git a/msec.logrotate b/msec.logrotate
index 6185628..38903b6 100644
--- a/msec.logrotate
+++ b/msec.logrotate
@@ -8,3 +8,9 @@
monthly
compress
}
+
+# updating permissions on rotated logs
+sharedscripts
+postrotate
+ test -f /usr/sbin/msecperms && /usr/sbin/msecperms -q -e '/var/log/*'
+endscript