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'