From 54598657fd72e15a53ef28f1c6a983676790ee40 Mon Sep 17 00:00:00 2001 From: James Swineson Date: Thu, 25 May 2023 22:19:33 +0800 Subject: [PATCH] fix the rest chown invocations for #24 --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 13bc6ac..80dd269 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -16,8 +16,8 @@ export ATLAS_GID="${ATLAS_GID:-999}" usermod -u $ATLAS_UID atlas groupmod -g $ATLAS_GID atlas -chown -R atlas:atlas /var/atlas-probe -chown -R atlas:atlas /var/atlasdata +chown -R atlas:atlas /var/atlas-probe || true +chown -R atlas:atlas /var/atlasdata || true # create essential files and fix permission mkdir -p /var/atlas-probe/status