Fixing permissions of tunnel. Updating to version 2.0.42

This commit is contained in:
Alejandro Lembke Barrientos 2024-04-10 09:35:28 +00:00
parent 7f81f891ab
commit b08429c9ae
Signed by: aleleba
GPG Key ID: F48D7CDEB47942BD
2 changed files with 6 additions and 4 deletions

View File

@ -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"

View File

@ -1 +1 @@
2.0.41
2.0.42