Skip to content

Commit 9fcc424

Browse files
authored
Update install-python.sh to modify /tmp permissions
Add permission changes for /tmp directory before installation.
1 parent c794f39 commit 9fcc424

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/install-python.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env bash
22
set -xeuo pipefail
33

4+
chmod 777 -R /tmp
45
apt update && apt install -y curl
56
curl -LsSf https://astral.sh/uv/install.sh | sh
67

@@ -10,4 +11,4 @@ PY_BIN=$(dirname $PY_PYTHON)
1011
echo "export PATH=/root/.local/bin:$PY_BIN:$PATH" >> ~/.zshrc
1112

1213
# make uv python the default python and support use it directly in shell
13-
rm "$($PY_PYTHON -c "import site, sysconfig; print(sysconfig.get_path('stdlib'));")/EXTERNALLY-MANAGED"
14+
rm "$($PY_PYTHON -c "import site, sysconfig; print(sysconfig.get_path('stdlib'));")/EXTERNALLY-MANAGED"

0 commit comments

Comments
 (0)