I want to setup git repository on my server so it is accessible from my webserver (read and write with redmine). I want to be able to create repository with my user (toto) in SSH.
Currently I set up the following:
- I have created a /var/redmine/repositories (owned by toto)
- I create repo in this folder and then change ownership to www-data
Currently the repositories are github clone but I would like in the future host my own repositories on the server.
In this context I plan to use a proper git user and include www-data user in git group.
Does it seems correct?