From 676710b226cee49e057126773e8989da61d6c1c8 Mon Sep 17 00:00:00 2001 From: pasky Date: Tue, 10 Oct 2006 03:07:22 +0200 Subject: [PATCH] chmod should be in premirror, not conjure --- cgi/Git/RepoCGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi/Git/RepoCGI.pm b/cgi/Git/RepoCGI.pm index 6d3d0b6..1e5912e 100644 --- a/cgi/Git/RepoCGI.pm +++ b/cgi/Git/RepoCGI.pm @@ -411,6 +411,7 @@ sub premirror { my $self = shift; mkdir $self->{path} or die "mkdir failed: $!"; + chmod 0775, $self->{path} or die "chmod failed: $!"; $self->_properties_save; $self->_group_add; } @@ -422,7 +423,6 @@ sub conjure { or die "cg-admin-setuprepo failed: $?"; $self->_nofetch(1); $self->_properties_save; - chmod 0775, $self->{path} or die "chmod failed: $!"; $self->_group_add(':'); } -- 2.11.4.GIT