From c83a4e3ee251617535d1dd432f6bea6792fc5c5a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 8 May 2010 11:17:01 -0300 Subject: Securing setup files --- manifests/init.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index 4331258..9816cb5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -37,9 +37,9 @@ class ikiwiki { file { "/etc/ikiwiki/$name.setup": ensure => present, content => template('ikiwiki/ikiwiki.setup.erb'), - owner => root, - group => root, - mode => 644, + owner => www-data, + group => www-data, + mode => 640, notify => Exec["ikiwiki_refresh_${name}"], } -- cgit v1.2.3