aboutsummaryrefslogtreecommitdiff
path: root/src/oryx
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-06-15 00:46:21 +0300
committerGitHub <noreply@github.com>2022-06-15 00:46:21 +0300
commitdd7e7d65b65f2f1706d18402136bcbaecbf8c897 (patch)
tree1e7575e7bd9a09cb265b10fb0343705d48a17314 /src/oryx
parent423b6d55420fe66e6e0bc4c2b5df254f7881d881 (diff)
add username:user_groupv0.0.1
Diffstat (limited to 'src/oryx')
-rwxr-xr-xsrc/oryx/install.sh2
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