From b4d2a6fb5e07a46ac0e5c72c8d084d2de6b1e90c Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Tue, 23 Sep 2025 16:10:34 +0200 Subject: [PATCH] Another attempt at fixing the entry point --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index cb26e03f..70171b0b 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -37,7 +37,7 @@ if [ "$PUID" == "0" ] || [ "$UID" != "0" ]; then else # Create silverbullet user and group ad-hoc mapped to PUID and PGID getent group $PGID &> /dev/null || addgroup -g $PGID silverbullet - getent passwd $PUID &> /dev/null || adduser -D -H -u $PUID -G $PGID silverbullet + getent passwd $PUID &> /dev/null || adduser -D -H -u $PUID silverbullet silverbullet args="$@" # And run via su as requested PUID, usually this will be 'silverbullet' but if a user with this idea already exists, we will use that USERNAME=$(getent passwd $PUID | cut -d ":" -f 1)