GitSmartHTTP for gitolite repositories over Apache does not allow me to push

本秂侑毒 提交于 2019-12-05 01:36:52

Took me a while. In my case it was permissions. I configured my docker engine process to run containers as non-root. --userns-remap

I have

#/etc/subuid 
docker-user:100000:65536

#/etc/subgid 
docker-runner:100000:65536

#/etc/passwd
docker-user:x:90:90::/home/docker-user:/sbin/nologin
dockremap:x:220:220::/home/dockremap:/bin/false
docker-root:x:100000:2::/home/docker-root:/sbin/nologin
docker-daemon:x:100001:2::/home/docker-daemon:/sbin/nologin 

Just use this command:

setfacl -RL -m g:100000:rwx -m g:100002:rwx /var/git 
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!