Resque post-receive - Permission denied - /home/git/repositories/ ....
Created by: Danpiel
Hello, successfully updatec to version 3.0, now resque worker gives errors on any commit
Permission denied - /home/git/repositories/repname.git
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bundler/gems/grit-7f35cb98ff17/lib/grit/git-ruby.rb:116:in `chdir'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bundler/gems/grit-7f35cb98ff17/lib/grit/git-ruby.rb:116:in `refs'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bundler/gems/grit-7f35cb98ff17/lib/grit/ref.rb:23:in `find_all'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/bundler/gems/grit-7f35cb98ff17/lib/grit/repo.rb:213:in `heads'
/home/gitlab/gitlab/app/roles/repository.rb:54:in `branch_names'
/home/gitlab/gitlab/app/roles/repository.rb:129:in `discover_default_branch'
/home/gitlab/gitlab/app/roles/push_observer.rb:110:in `trigger_post_receive'
/home/gitlab/gitlab/app/workers/post_receive.rb:15:in `perform'
I checked permissions in repository folder
git:git 770 is set for all folders and files, as it said in wiki. Group also set as prescribed in wiki
groups gitlab
gitlab : gitlab git
To cure this I changed group for repository to git:gitlab, but I think it's not right, thank you.