without Gitlab
we here create a specific user for a given group (set of projects)
which git-shell # provided by git package useradd -m -g nogroup -s /usr/bin/git-shell nethence #passwd --delete --unlock nethence #usermod -p '*' nethence
put a new repo over there and fix perms
folder=/home/nethence ll $folder/ chown -R nethence. $folder/ find $folder/ -type d -exec chmod 700 {} \; find $folder/ -type f -exec chmod 600 {} \; find $folder/ ! -type d ! -type f