mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-01-08 04:36:48 -06:00
Fixing permissions on .ssh directory. Update to version 3.1.1
This commit is contained in:
parent
974914126f
commit
b33c4cbbe6
@ -77,7 +77,9 @@ if [ "$HOME_USER" != "$(whoami)" ]; then
|
||||
exec sudo -u $HOME_USER bash -c "source /etc/environment; /usr/bin/entrypoint.sh"
|
||||
else
|
||||
sudo chown -R ${HOME_USER} /home/${HOME_USER}
|
||||
sudo chmod -R 600 /home/${HOME_USER}/.ssh
|
||||
if [ -d "/home/${HOME_USER}/.ssh" ]; then
|
||||
sudo chmod -R 600 /home/${HOME_USER}/.ssh
|
||||
fi
|
||||
fi
|
||||
|
||||
# Move the .bashrc file to the user's home directory if it doesn't exist
|
||||
|
@ -1 +1 @@
|
||||
3.1.0
|
||||
3.1.1
|
Loading…
Reference in New Issue
Block a user