diff --git a/entrypoint.sh b/entrypoint.sh index a4c21ed..695acba 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -75,6 +75,9 @@ fi # Then execute entrypoint.sh 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} + chmod -R 600 /home/${HOME_USER}/.ssh fi # Move the .bashrc file to the user's home directory if it doesn't exist diff --git a/version.txt b/version.txt index 10bbf27..053a355 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.0.34 \ No newline at end of file +3.0.35 \ No newline at end of file