From: Antony Chazapis Date: Tue, 13 Mar 2012 08:31:42 +0000 (+0100) Subject: Fix permission problems X-Git-Url: https://repo.or.cz/w/girocco.git/commitdiff_plain/65b495e5f80ecc84c14ba5dc92eb94aae9a9b3ec Fix permission problems The first is most important, as the permissions on new projects are not set correctly. The ".nofetch" file is created after running the fixup.sh script. --- diff --git a/Girocco/Project.pm b/Girocco/Project.pm index 34693e1..6d3fce1 100644 --- a/Girocco/Project.pm +++ b/Girocco/Project.pm @@ -443,7 +443,7 @@ sub _setup { $self->_ctags_setup; $self->_group_add($pushers); $self->_hooks_install; - $self->perm_initialize; + #$self->perm_initialize; system($Girocco::Config::basedir . '/gitweb/genindex.sh'); } @@ -452,6 +452,7 @@ sub premirror { $self->_setup(':'); $self->_clonep(1); + $self->perm_initialize; } sub conjure { @@ -459,6 +460,7 @@ sub conjure { $self->_setup; $self->_nofetch(1); + $self->perm_initialize; } sub clone {