Could not create directory /var/teamsserver

前端 未结 4 877
春和景丽
春和景丽 2021-02-06 01:20

I\'ve installed os x server (Mavericks) on my mac and would like to add bot. For some reasons my remote repo is located on other external server and I have access to it by usern

4条回答
  •  名媛妹妹
    2021-02-06 02:05

    I experienced a similar issue with scheme action build scripts when attempting to run git commands against a github repo protected by ssh key pairs.

    Bots run builds using a _teamsserver system account. As you've discovered, these accounts don't have home directories by default. To setup builds to access and modify their home directory, I had success with the following (your mileage may vary):

    sudo mkdir /var/teamsserver
    sudo chown -R _teamsserver:_teamsserver /var/teamsserver/
    sudo chmod -R 770 /var/teamsserver/
    

    HTH

提交回复
热议问题