summaryrefslogtreecommitdiff
path: root/manifests/logrotate.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-01-11 09:16:41 +0100
committermh <mh@immerda.ch>2010-01-11 09:16:41 +0100
commit703325731ac00614eab9ae669ef02f70818a4ed7 (patch)
treec472b2244411c33978f812d96baf84b910bfe48b /manifests/logrotate.pp
parent074255c4ef34e577669b618437ee61368e682605 (diff)
don't make logfiles public readable
Diffstat (limited to 'manifests/logrotate.pp')
-rw-r--r--manifests/logrotate.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/logrotate.pp b/manifests/logrotate.pp
index bb4656c..a26e1c2 100644
--- a/manifests/logrotate.pp
+++ b/manifests/logrotate.pp
@@ -5,7 +5,7 @@ class dovecot::logrotate {
context => "/files/etc/logrotate.d/dovecot/rule",
changes => [ 'set file /var/log/dovecot/*.log', 'set rotate 3', 'set schedule weekly',
'set compress compress', 'set sharedscripts sharedscripts',
- 'set create/mode 0664', 'set create/owner root', 'set create/group mail',
+ 'set create/mode 0660', 'set create/owner root', 'set create/group mail',
'set postrotate "/bin/kill -USR1 `cat /var/run/dovecot/master.pid 2>/dev/null` 2> /dev/null || true"' ],
}
}