Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #1799

Closed
Open
Created Oct 25, 2012 by Administrator@rootOwner

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.

Assignee
Assign to
Time tracking