aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/git.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-24 15:47:42 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-24 15:47:42 -0400
commit146192d5b01329bd8e5dfbf4045efded467151e0 (patch)
tree75752f4ffac35c5c4e32e4025e4d3a689d454cd6 /IkiWiki/Plugin/git.pm
parent86ea8adaf3263babd401b7c2d73a1824b99ea908 (diff)
downloadikiwiki-146192d5b01329bd8e5dfbf4045efded467151e0.tar
ikiwiki-146192d5b01329bd8e5dfbf4045efded467151e0.tar.gz
the pre-receive wrapper needs to be suid after all
It needs to write to the user db.
Diffstat (limited to 'IkiWiki/Plugin/git.pm')
-rw-r--r--IkiWiki/Plugin/git.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm
index 84df56181..5bef92856 100644
--- a/IkiWiki/Plugin/git.pm
+++ b/IkiWiki/Plugin/git.pm
@@ -46,7 +46,7 @@ sub checkconfig () { #{{{
push @{$config{wrappers}}, {
test_receive => 1,
wrapper => $config{git_test_receive_wrapper},
- wrappermode => "0755",
+ wrappermode => (defined $config{git_wrappermode} ? $config{git_wrappermode} : "06755"),
};
}
} #}}}