From 5adaa23df76324bc0587db502522f6d73e80c5fc Mon Sep 17 00:00:00 2001 From: mol Date: Sun, 25 Feb 2024 08:24:44 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20entrypoint.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3d0dc6d..8b85c52 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -17,9 +17,9 @@ if [ "${DOCKER_USER-}" ]; then # Unfortunately we cannot change $HOME as we cannot move any bind mounts # nor can we bind mount $HOME into a new home as that requires a privileged container. - sudo chown -R "$DOCKER_USER":999 /home/coder sudo usermod --login "$DOCKER_USER" "$USER_HOME" sudo groupmod -n "$DOCKER_USER" "$USER_HOME" + sudo chown -R "$DOCKER_USER":999 /home/coder #sudo printf "user: $DOCKER_USER\ngroup: $DOCKER_USER\n" > /etc/fixuid/config.yml