From b08429c9ae7657ff47f17cd67146ba7bf08d7d2f Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Wed, 10 Apr 2024 09:35:28 +0000 Subject: [PATCH] Fixing permissions of tunnel. Updating to version 2.0.42 --- entrypoint.sh | 8 +++++--- version.txt | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 6872984..9c4f88d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -82,13 +82,15 @@ if [ -f "/home/extensions.json" ]; then done sudo cp -R /home/${HOME_USER}/.vscode/* /home/${HOME_USER}/.vscode-server sudo cp -R /home/${HOME_USER}/.vscode/* /home/${HOME_USER}/.vscode-server-insiders + sudo chmod -R a+rwX /home/${HOME_USER}/.vscode + sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server + sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server-insiders else echo "File extensions.json not found" fi -sudo chmod -R a+rwX /home/${HOME_USER}/.vscode -sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server -sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server-insiders +# Make sure the CLI folder is executable +sudo chmod -R a+rwX /home/${HOME_USER}/.vscode/cli if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms" diff --git a/version.txt b/version.txt index 9a8e70b..8b5ef60 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.41 \ No newline at end of file +2.0.42 \ No newline at end of file