mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-01-09 05:06:46 -06:00
Fixing permissions of tunnel. Updating to version 2.0.42
This commit is contained in:
parent
7f81f891ab
commit
b08429c9ae
@ -82,13 +82,15 @@ if [ -f "/home/extensions.json" ]; then
|
|||||||
done
|
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
|
||||||
sudo cp -R /home/${HOME_USER}/.vscode/* /home/${HOME_USER}/.vscode-server-insiders
|
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
|
else
|
||||||
echo "File extensions.json not found"
|
echo "File extensions.json not found"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo chmod -R a+rwX /home/${HOME_USER}/.vscode
|
# Make sure the CLI folder is executable
|
||||||
sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server
|
sudo chmod -R a+rwX /home/${HOME_USER}/.vscode/cli
|
||||||
sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server-insiders
|
|
||||||
|
|
||||||
if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then
|
if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then
|
||||||
sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms"
|
sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms"
|
||||||
|
@ -1 +1 @@
|
|||||||
2.0.41
|
2.0.42
|
Loading…
Reference in New Issue
Block a user