Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nuc: Fix git server ownership and permissions
Define the `git` as system user and delete its home directory. Make it part of the group `git`. Make the git repositories owned by git user and group and adjust the permissions: chown -R git:git /srv/git find /srv/git -type d -exec chmod 750 {} \; find /srv/git -type f -exec chmod 640 {} \; Finally, run `cgit` as the group `git` so it can read the repositories.
- Loading branch information