Fixing permissions on .ssh directory. Update to version 3.1.1

This commit is contained in:
Alejandro Lembke Barrientos 2024-04-24 12:47:13 -06:00
parent 974914126f
commit b33c4cbbe6
No known key found for this signature in database
GPG Key ID: CF56F422A61141DD
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -1 +1 @@
3.1.0
3.1.1