From efe37fb8a38b9087f02a93332d179f988bd1dcf8 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Thu, 15 Mar 2012 21:59:36 +0530 Subject: [PATCH] honor umask --- src/gitolite-shell | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gitolite-shell b/src/gitolite-shell index 8437cbd..6bb2970 100755 --- a/src/gitolite-shell +++ b/src/gitolite-shell @@ -50,6 +50,8 @@ sub in_ssh { # call this once you are sure arg-1 is the username and SSH_ORIGINAL_COMMAND # has been setup (even if it's not actually coming via ssh). sub main { + umask $rc{UMASK}; + # set up the user my $user = $ENV{GL_USER} = shift @ARGV;