From f6ec98e1c07068ac9615c26082583c3d8b8bce2f Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 28 Jul 2020 07:58:16 -0400 Subject: [PATCH] ignore stderr during chown --- bin/docker_entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/docker_entrypoint.sh b/bin/docker_entrypoint.sh index eea71040..7e5836e3 100755 --- a/bin/docker_entrypoint.sh +++ b/bin/docker_entrypoint.sh @@ -15,7 +15,7 @@ if [[ "$USID" != 0 && "$GRID" != 0 ]]; then groupmod -g "$GRID" "$ARCHIVEBOX_USER" chown -R "$USID":"$GRID" "/home/$ARCHIVEBOX_USER" chown "$USID":"$GRID" "$DATA_DIR" - chown "$USID":"$GRID" "$DATA_DIR/*" || true + chown "$USID":"$GRID" "$DATA_DIR/*" > /dev/null 2>&1 || true fi # run django as the new archivebox user