From c2f5311948d324d196b7ec53d3bf2069c2fe773a Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Sun, 21 Apr 2024 01:24:57 +0000 Subject: [PATCH] Update ownership of user's home directory and increment version number to 3.0.33 --- entrypoint.sh | 2 +- version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 6b66514..e1ae4e2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -76,7 +76,7 @@ fi 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} + find /home/${HOME_USER} -not -path "/home/${HOME_USER}/.ssh/*" -not -name ".ssh" -exec sudo chown ${HOME_USER} {} \; 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 8d87cde..1098afd 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.0.32 \ No newline at end of file +3.0.33 \ No newline at end of file