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