diff options
Diffstat (limited to 'src/oryx/install.sh')
-rwxr-xr-x | src/oryx/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oryx/install.sh b/src/oryx/install.sh index 5eeaf18..1f0f94d 100755 --- a/src/oryx/install.sh +++ b/src/oryx/install.sh @@ -127,7 +127,7 @@ if ! oryx --version > /dev/null ; then updaterc "export ORYX_SDK_STORAGE_BASE_URL=https://oryx-cdn.microsoft.io && export ENABLE_DYNAMIC_INSTALL=true && DYNAMIC_INSTALL_ROOT_DIR=$ORYX_INSTALL_DIR && ORYX_PREFER_USER_INSTALLED_SDKS=true" - chown -R :oryx "${ORYX_INSTALL_DIR}" "${BUILD_SCRIPT_GENERATOR}" "${ORYX}" + chown -R "${USERNAME}:oryx" "${ORYX_INSTALL_DIR}" "${BUILD_SCRIPT_GENERATOR}" "${ORYX}" chmod -R g+r+w "${ORYX_INSTALL_DIR}" "${BUILD_SCRIPT_GENERATOR}" "${ORYX}" find "${ORYX_INSTALL_DIR}" -type d | xargs -n 1 chmod g+s find "${BUILD_SCRIPT_GENERATOR}" -type d | xargs -n 1 chmod g+s |