Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[solved] permission Error when trying to do: git push #5

Open
brownman opened this issue Aug 8, 2017 · 5 comments
Open

[solved] permission Error when trying to do: git push #5

brownman opened this issue Aug 8, 2017 · 5 comments
Labels

Comments

@brownman
Copy link

brownman commented Aug 8, 2017

host# git push origin master
result:
remote: error: insufficient permission for adding an object to repository database ./objects

fix:
/git-server/repos # sudo chmod -R ug+w .;

@jkarlosb
Copy link
Owner

jkarlosb commented Aug 8, 2017

Thanks for share!

@SXGC
Copy link

SXGC commented Feb 8, 2019

Thanks

1 similar comment
@children1987
Copy link

Thanks

@markNZed
Copy link

I'm not sure that is the right solution. There is a similar command in the start.sh script So restarting the container might have a similar effect. I wonder whether it is related to how th git repo is copied into place while the docker service is running.

@lanqsh
Copy link

lanqsh commented Dec 28, 2021

the same problem comes to me
I try chmod -R ug+w . but fail
chmod -R 777 . will work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants