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

Closed
Open
Created Jul 11, 2012 by Administrator@rootOwner

Strange permissions issues

Created by: brianhay-energetica

I have Gitlab successfully setup with git repos in /home/git/repositories

I can push to, commit to and pull from these repos and everything shows up fine in the Gitlab interface.

However, I also need another web-based application (on the same server) to have read access to some repos. The web app devs recommend doing a git clone --bare into web-app-root/work/git/ which I did. I then (as root user) need to change the permissions on the new clone folder so that apache can access, BUT as soon as I do this the origin repo in /home/git/repositories/ gets messed up. I can no longer push to it (I get an error saying that it is corrupt) and Gitlab throws a 500 error each time I try to access the project in the Gitlab interface.

When I go back into /home/git/repositories/ the user:group is still the correct git:git

This makes no sense to me. How would changing the permissions of a cloned repo on the same box affect the origin repo?

I must be misunderstanding something.

Any ideas?

Assignee
Assign to
Time tracking