From 92cb687deaf06ab79dfb3e6ff7ea921e4696bcd3 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sun, 25 Sep 2016 20:16:02 +0200 Subject: set permission on just created MAIL_LOG_TODAY mga#19335 --- cron-sh/security.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'cron-sh') diff --git a/cron-sh/security.sh b/cron-sh/security.sh index 41bcf78..3021a78 100755 --- a/cron-sh/security.sh +++ b/cron-sh/security.sh @@ -122,6 +122,7 @@ if [[ -s ${SECURITY} ]]; then mv ${MAIL_LOG_TODAY} ${MAIL_LOG_YESTERDAY}; fi cat ${MSEC_TMP} > ${MAIL_LOG_TODAY} + /usr/sbin/msecperms -q ${MAIL_LOG_TODAY} Maillog "[msec] *** Security Check on ${REPORT_HOSTNAME}, ${REPORT_DATE} ***" "${MSEC_TMP}" Notifylog "`eval_gettext \"MSEC has performed Security Check on \\\${REPORT_HOSTNAME} on \\\${REPORT_DATE}. Detailed results are available in \\\${MAIL_LOG_TODAY}\"`" -- cgit v1.2.1