git-server-docker
git-server-docker copied to clipboard
[solved] permission Error when trying to do: git push
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 .;
Thanks for share!
Thanks
Thanks
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.
the same problem comes to me
I try chmod -R ug+w .
but fail
chmod -R 777 .
will work