diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-06-15 00:46:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 00:46:21 +0300 |
commit | dd7e7d65b65f2f1706d18402136bcbaecbf8c897 (patch) | |
tree | 1e7575e7bd9a09cb265b10fb0343705d48a17314 /src/python/install.sh | |
parent | 423b6d55420fe66e6e0bc4c2b5df254f7881d881 (diff) |
add username:user_groupv0.0.1
Diffstat (limited to 'src/python/install.sh')
-rwxr-xr-x | src/python/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/install.sh b/src/python/install.sh index 1e3875b..7ab8b03 100755 --- a/src/python/install.sh +++ b/src/python/install.sh @@ -412,7 +412,7 @@ if [ "${INSTALL_PYTHON_TOOLS}" = "true" ] && [ "${PYTHON_VERSION}" != "none" ]; updaterc "export PIPX_BIN_DIR=\"${PIPX_BIN_DIR}\"" updaterc "if [[ \"\${PATH}\" != *\"\${PIPX_BIN_DIR}\"* ]]; then export PATH=\"\${PATH}:\${PIPX_BIN_DIR}\"; fi" - chown -R :python "${PIPX_HOME}" + chown -R "${USERNAME}:python" "${PIPX_HOME}" chmod -R g+r+w "${PIPX_HOME}" find "${PIPX_HOME}" -type d | xargs -n 1 chmod g+s fi |