I set up git and gitolite with some help from members on this forum and using these instructions:
https://github.com/sitaramc/gitolite
In the instructions one of the requirements is:
a dedicated
userid
to host the repos (in this document, we assume it is 'git
'), with shell access ONLY by 'su - git
' from some otheruserid
on the same server.
Are these the correct permissions shown below?
sudo chown git /home/git
sudo chmod -R 755 /home/git
...or are there more appropriate settings to provide necessary security and functionality?