From 36dad2f793a5503871f39eca3d7dbdfa945824ee Mon Sep 17 00:00:00 2001 From: kylhuk Date: Fri, 5 Apr 2024 14:48:51 +0200 Subject: [PATCH] fix: removed changing ownership at the beginning of container start (#218) --- docker/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index d10e521cc..fe8fb4339 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -34,12 +34,12 @@ PGID=${PGID:-1000} groupmod -o -g "$PGID" users >/dev/null usermod -o -u "$PUID" user >/dev/null -chown -R user:users /config || CONFIG_CHOWN_STATUS=$? +chown user:users /config || CONFIG_CHOWN_STATUS=$? if [ ! -z $CONFIG_CHOWN_STATUS ]; then echo "*** Could not set permissions on /config ; this container may not work as expected ***" fi -chown -R user:users /downloads || DOWNLOADS_CHOWN_STATUS=$? +chown user:users /downloads || DOWNLOADS_CHOWN_STATUS=$? if [ ! -z $DOWNLOADS_CHOWN_STATUS ]; then echo "*** Could not set permissions on /downloads ; this container may not work as expected ***" fi