Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

At my company, we are adopting Redmine as the support tool for our software projects management. Since we were using git for SCM, I've installed and configured the Redmine git hosting plugin and gitolite, since its a plugin requirement.

In the plugin configuration, I selected to automatically create a new repo everytime a new project is created and it seems to work just fine. After the project creation, I configure the users who should have access to the repo and the desired permissions for them through the gitolite.conf file.

However, a weird problem is occurring: everytime a push some commits into the remote repo, the W+ permissions are lost., being my user only able to read access to the repo.

Some useful information (I hope) about my system configuration:

  • Redmine 1.3.2 stable (MySql)
  • Redmine Git Hosting Plugin 0.4.2
share|improve this question
Do you mean the gitolite.conf file (published in your .gitolite/conf on the gitolite server) changes? and all the W+ are gone? Which gitolite are you using, btw? Gitolite V2 or V3? – VonC Aug 24 '12 at 14:04
I mean the gitolite.conf file available on the gitolite-admin repo and yes,everytime I run a git push, the W+ permissions are gone. I'm not quite sure about the gitolite version I'm using; what would be the preferable way to obtain that? – Rui Gonçalves Aug 24 '12 at 14:21
Do a simple ssh git@yourGitoliteServer, it should return a message from Gitolite (I assume you used git as a user for managing gitolite, if not, replace it with the appropriate account) – VonC Aug 24 '12 at 14:37
I had to use the option info in the ssh command you suggested: ssh git@host info. The gitolite version is 2.2-1 (Debian) and the git one is – Rui Gonçalves Aug 24 '12 at 14:48
I think that this can also be useful: whenever I push a change to the gitolite remote repository, the message Repository does not have "hooks.redmine_gitolite.key" set. Skipping hook is prompted. – Rui Gonçalves Aug 24 '12 at 15:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.