aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 3be6bdb..65dc2cb 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -86,12 +86,11 @@ class ikiwiki {
# See http://ikiwiki.info/rcs/git/
# http://ikiwiki.info/forum/multi-user_setup_of_ikiwiki__44___gitosis_and_apache2_in_Debian_Sid/
#
- # TODO: ensure the post-update hook is setuid.
- #
file { "/var/git/repositories/${name}.git/hooks/post-update":
ensure => present,
owner => www-data,
group => gitosis,
+ mode => 4550,
}
}
}