]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/InboxWritable.pm
respect umask if core.sharedRepository is not set
[public-inbox.git] / lib / PublicInbox / InboxWritable.pm
index 5c11a36c27631e4b82bed1de1dabe222e41ef484..9b0cdfd04e229ce7cb9cce70008f67cded1e028f 100644 (file)
@@ -175,7 +175,7 @@ sub _read_git_config_perm {
 sub _git_config_perm {
        my $self = shift;
        my $perm = scalar @_ ? $_[0] : _read_git_config_perm($self);
-       return PERM_GROUP if (!defined($perm) || $perm eq '');
+       return PERM_UMASK if (!defined($perm) || $perm eq '');
        return PERM_UMASK if ($perm eq 'umask');
        return PERM_GROUP if ($perm eq 'group');
        if ($perm =~ /\A(?:all|world|everybody)\z/) {