Unable to access 'git/attributes'

后端 未结 6 829
感动是毒
感动是毒 2020-11-29 18:23

What does warning remote: warning: unable to access \'/root/.config/git/attributes\': Permission denied means and what implications does it bring?



        
6条回答
  •  粉色の甜心
    2020-11-29 18:47

    I think your HOME envireonment variable is improperly set.

    From the google group thread,

    the HOME environment variable was set to /root so it looked at /root/.gitconfig or /root/.config/git/config since the unprivileged user didn't have access to /root it threw an error.

    So the solution was for me to set the HOME env to the user's HOME directory

提交回复
热议问题