MASTER | rake gitlab:app:status will never pass UMASK check
Created by: ghost
UMASK for .gitolite.rc is 0007? ............NO
The .gitolite.rc file looks like this:
%RC = ( # if you're using mirroring, you need a hostname. This is one simple # word, not a full domain name. See documentation if in doubt # HOSTNAME => 'darkstar', UMASK => 0007,
But the code to verify this check is incorrect inside the rake task: lib/tasks/gitlab/status.rake:52
unless open("#{git_base_path}/../.gitolite.rc").grep(/REPO_UMASK = 0007/).empty?
Should be:
unless open("#{git_base_path}/../.gitolite.rc").grep(/0007/).empty?
Thanks, Owen