Gitlab prompts for password while push for git user

前端 未结 8 1142
遇见更好的自我
遇见更好的自我 2020-12-24 06:55

I installed gitlab on my servers at linode. All services of gitlab are working fantastic. I am able to login, create users, repos etc. But the problem I am facing is when I

8条回答
  •  温柔的废话
    2020-12-24 07:16

    To properly fix the selinux issues, use the following. Note that chcon is only temporary and will not survive a relabel or restorecon, so you should use semanage instead.

    semanage fcontext -a -t user_home_dir_t "/var/opt/gitlab(/.*)?"
    semanage fcontext -a -t ssh_home_t "/var/opt/gitlab/.ssh(/.*)?"
    restorecon -rv /var/opt/gitlab
    

提交回复
热议问题