Configure users and groups for Git

Posted by Peter Penzov on Server Fault See other posts from Server Fault or by Peter Penzov
Published on 2013-10-23T08:52:31Z Indexed on 2013/10/23 10:00 UTC
Read the original article Hit count: 175

Filed under:
|
|
|

I want to create Git server on which every developer can commit code with his own linux account. The Git repository is initialized under the directory /opt/git_repo.git

I created a group developers which owns the directory git_repo.git. Then I created three users which are part of the same group - DeA, DevB, DevC. I created a soft link into each developer home directory which points to the /opt/git_repo.git location.

The problem is that when a user connects to the Git server and use the soft link to access the files he cannot do it.

Can you help me what are the proper steps and commands to configure the repository?

© Server Fault or respective owner

Related posts about linux

Related posts about permissions