diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-10-24 15:47:42 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-10-24 15:47:42 -0400 |
commit | 146192d5b01329bd8e5dfbf4045efded467151e0 (patch) | |
tree | 75752f4ffac35c5c4e32e4025e4d3a689d454cd6 /IkiWiki/Plugin/git.pm | |
parent | 86ea8adaf3263babd401b7c2d73a1824b99ea908 (diff) | |
download | ikiwiki-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.pm | 2 |
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"), }; } } #}}} |