Redmine and mercurial-server
I managed to put together Redmine as issuetracker/wiki/younameit and mercurial-server which manages multi-user access to mercurial repository through ssh.
Redmine installation: redmine:redmine /var/lib/redmine/
Mercurial-server installation: hg:hg /home/hg/
I have put redmine into group hg.
Redmine installation: redmine:redmine /var/lib/redmine/
Mercurial-server installation: hg:hg /home/hg/
I have put redmine into group hg.
The issue
When you add repository lets say /home/hg/vim/ to redmine, it does not recognise it. Not until you ofcourse make repository read/writeable for hg group (chmod 760). Now comes punchline; $HOME directory must be executable in order for Redmine to read repository info. In my case, I had to do "chmod 710 /home/hg/" in order to redmine to work.
Note that if you change write permissions to home user in linux, pubic keys ssh authentication will not work anymore for security reasons.
Comment by Roland — Mar 18, 2010 3:14:54 PM | # - re
Comment by Domen Kožar — Mar 18, 2010 5:01:32 PM | # - re
To add redmine into hg group:
gpasswd -a redmine hg
(to take effect you should reboot)
To change permissions on repository:
chmod 0710 /home/hg/vim
Comment by Vladimir Murzin — Jun 26, 2010 6:18:53 AM | # - re
No need to reboot — $ source /etc/profile
Comment by Domen Kožar — Jun 26, 2010 2:59:21 PM | # - re