Set permissions (#4845)

In some cases exec agent can fail to start due to the missing permission of current folder. We do the same like we do for ws-agent- we update permissions of /project folder
6.19.x
Sergii Kabashniuk 2017-04-19 17:37:35 +03:00 committed by GitHub
parent b016d619cb
commit 33107440b2
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ MACHINE_TYPE=$(uname -m)
SHELL_INTERPRETER="/bin/sh"
mkdir -p ${CHE_DIR}
${SUDO} mkdir -p /projects
${SUDO} sh -c "chown $(id -u -n) /projects"
########################
### Install packages ###