Reading from this question I PARTIALLY solved it like this:
Initially, gitweb doesn't have any permissions to read the repository, so we fix the problem by adding the gitweb user (usually
www-data
orapache
) to the git group by runningusermod -a -G git www-data
(be aware of your server's configuration, because that can be a little different, according to how you configuratedgitolite
.Change the
UMASK
property on the.gitolite.rc
file (present in git user home directory), from the default value of0077
to0022
, the equivalent of755 (rwxr-xr-x)
for directories and644 (rw-r--r--)
for files.For existing repos, you might need to run a
chmod -R g+rX
More infos on link above.
Anyway, every time I edit gitolite-admin
repo, this shows up in the list of present repositories.. How to change it?