From dd7e7d65b65f2f1706d18402136bcbaecbf8c897 Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Tue, 14 Jun 2022 21:46:21 +0000 Subject: add username:user_group --- src/python/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/python/install.sh') 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 -- cgit v1.2.3