From 5c3f084b1ea9f84031497b7b12a8412917b1eab8 Mon Sep 17 00:00:00 2001 From: mol Date: Sun, 25 Feb 2024 08:05:11 +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 e394e8c..3d0dc6d 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -27,7 +27,7 @@ if [ "${DOCKER_USER-}" ]; then echo "git配置文件已存在" else touch /home/coder/.gitconfig - chown -R "$DOCKER_USER":999 /home/coder/.gitconfig + sudo chown "$DOCKER_USER":999 /home/coder/.gitconfig echo "git配置文件已创建" fi