My git-data directory is shared with redmine in order to synchronise Ticket status. redmine is a user in group git here.
When investigation a problem it turned out that some REPO/config files had 600 permissions and others 644. So some repos were accessible by redmine and others not.
I guess that the default of the gitlab docker image changed over time.
Is there a recommendation for permissions?
Is there a ‘fix-permissions’ script?
find /var/opt/gitlab/git-data/ -printf "%u %g %m %y \n" |sort|uniq -c
23 git git 2700 d
2 git git 2744 d
103 git git 2750 d
769 git git 2754 d
11599 git git 2755 d
1 git git 2770 d
1 git git 2774 d
3345 git git 2775 d
13669 git git 444 f
4 git git 464 f
614 git git 600 f
8754 git git 644 f
1413 git git 664 f
1 git git 700 d
2275 git git 755 d
4647 git git 755 f
190 git git 774 d
28 git git 775 d
29 git git 775 f
190 git git 777 l