From: mh Date: Sat, 1 Dec 2012 12:35:50 +0000 (+0100) Subject: should not be readable by everyone X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=68a54389de6ca6af13ecde7f4988787a83132d01;p=puppet-ejabberd.git should not be readable by everyone --- diff --git a/files/munin/ejabberd_registrations.cron b/files/munin/ejabberd_registrations.cron index 34caf22..fc9de3e 100644 --- a/files/munin/ejabberd_registrations.cron +++ b/files/munin/ejabberd_registrations.cron @@ -3,4 +3,6 @@ for host in `cat /etc/munin/plugin-conf.d/ejabberd_registrations.conf | grep env.vhosts | sed 's/env.vhosts //'`; do stat_file="/var/lib/munin/plugin-state/ejabberd_registrations_${host}" ejabberdctl registered-users $host > $stat_file + chgrp munin $stat_file + chmod o-rwx $stat_file done