From f7b82683b2aad306fd0ce9a67071b7abc6721f03 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 10 Apr 2013 17:33:29 -0300 Subject: Cannot get rid of setuid on post-update --- manifests/instance.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/instance.pp b/manifests/instance.pp index ba0db0d..82ae0fa 100644 --- a/manifests/instance.pp +++ b/manifests/instance.pp @@ -74,9 +74,9 @@ define ikiwiki::instance($base_url = $domain, $ensure = 'present', $description file { "/var/git/repositories/${name}.git/hooks/post-update": ensure => present, - owner => $ikiwiki::git_implementation, + owner => $owner, group => $ikiwiki::git_implementation, - mode => 0755, + mode => 6550, require => File["/etc/ikiwiki/$name.setup"], } -- cgit v1.2.3