From ff5aef521e31a721787d21b22707479d3011c506 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Thu, 11 Jan 2024 19:02:58 -0800 Subject: [PATCH] fix chown of playwright browsers dir links --- bin/docker_entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/docker_entrypoint.sh b/bin/docker_entrypoint.sh index 03e8e483..eede7e2f 100755 --- a/bin/docker_entrypoint.sh +++ b/bin/docker_entrypoint.sh @@ -95,7 +95,9 @@ fi export PLAYWRIGHT_BROWSERS_PATH="${PLAYWRIGHT_BROWSERS_PATH:-/browsers}" mkdir -p "$PLAYWRIGHT_BROWSERS_PATH/permissions_test_safe_to_delete" chown $PUID:$PGID "$PLAYWRIGHT_BROWSERS_PATH" -chown $PUID:$PGID "$PLAYWRIGHT_BROWSERS_PATH"/*.* +chown $PUID:$PGID "$PLAYWRIGHT_BROWSERS_PATH"/* +chown $PUID:$PGID "$PLAYWRIGHT_BROWSERS_PATH"/.* +chown -h $PUID:$PGID "$PLAYWRIGHT_BROWSERS_PATH"/.links/* rm -Rf "$PLAYWRIGHT_BROWSERS_PATH/permissions_test_safe_to_delete"