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
  • #206

Closed
Open
Created Dec 15, 2011 by Administrator@rootOwner

ActionView::Template::Error (Permission denied - /home/git/repositories/repo.git

Created by: momchilov

The webserver user, who has access to gitolite-admin, doesn't have local file permissions to ~git/repositories/. I've added it to the 'git' group, changed the permissions manually - no joy. I think the problem stems from the umask setting in ~git/.gitolite.rc. It's set to 0007, with accordance to the gitlab's installation instructions.

ActionView::Template::Error (Permission denied - /home/git/repositories/repo.git):
    1: = form_tag switch_project_refs_path(@project), :method => :get, :class => "project-refs-form" do
    2:   = select_tag "ref", grouped_options_refs, :onchange => "this.form.submit();", :class => "project-refs-select"
    3:   = hidden_field_tag :destination, destination
    4: 
    5: :javascript
  app/helpers/application_helper.rb:52:in `grouped_options_refs'
  app/views/projects/_refs.html.haml:2:in `block in _app_views_projects__refs_html_haml__63011722_109725050'
  app/views/projects/_refs.html.haml:1:in `_app_views_projects__refs_html_haml__63011722_109725050'
  app/views/layouts/_middle_panel.html.haml:6:in `_app_views_layouts__middle_panel_html_haml__817652363_109640110'
  app/views/layouts/project.html.haml:21:in `_app_views_layouts_project_html_haml___495187613_105671680'
  app/controllers/projects_controller.rb:71:in `show'
Assignee
Assign to
Time tracking