the pre-receive wrapper needs to be suid after all
[ikiwiki.git] / IkiWiki / Plugin / git.pm
index 84df561817e7123f6f3f5f3062e4d2ab13445419..5bef92856efa31e5693d67ba7207622da5d17171 100644 (file)
@@ -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"),
                };
        }
 } #}}}