Skip to content

Commit

Permalink
[utils/common] Make sure ~/.venvs belongs to user
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Jul 7, 2024
1 parent e79578e commit 05af44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ function create_python_venv() {
source "$VENV_PATH/bin/activate"

pip3 install --upgrade pip setuptools &>>"$LOG_FILE"
chown "$RUN_AS":"$(id -ng "$RUN_AS")" "$VENV_PATH" &>>"$LOG_FILE"
chown "$RUN_AS":"$(id -ng "$RUN_AS")" "$VENV_PATH" "${RUN_AS_HOME}/.venvs" &>>"$LOG_FILE"
echo -e "[$done_format]"
}

Expand Down

0 comments on commit 05af44d

Please sign in to comment.