From cb4bf58db9f761973e1d4f90c61b46f0331f9d00 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 9 Apr 2024 20:46:54 +0000 Subject: [PATCH] Fixing issue of permissions on /home/${HOME_USER} directory. Updating to version 2.0.32 --- entrypoint.sh | 3 +++ version.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 9cb00a9..55e1cdf 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -37,6 +37,9 @@ if [ "${HOME_USER-}" ]; then sudo su - ${HOME_USER} -c "echo 'export $line' >> ~/.bashrc" done + # Changing the property of the directory /home/${HOME_USER} + sudo chown -R ${HOME_USER}: /home/${HOME_USER}/ + # Changing the HOME_USER in the .bashrc file sudo su - ${HOME_USER} -c 'sed -i "s|/home/vscode|/home/${HOME_USER}|g" ~/.bashrc' diff --git a/version.txt b/version.txt index 28c1279..fff3132 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.31 \ No newline at end of file +2.0.32 \ No newline at end of file