diff --git a/bin/docker_entrypoint.sh b/bin/docker_entrypoint.sh index c2abd8e8..70699b2a 100755 --- a/bin/docker_entrypoint.sh +++ b/bin/docker_entrypoint.sh @@ -74,8 +74,10 @@ chown $PUID:$PGID "$DATA_DIR"/* PLAYWRIGHT_BROWSERS_PATH="${PLAYWRIGHT_BROWSERS_PATH:-/browsers}" mkdir -p "$PLAYWRIGHT_BROWSERS_PATH" chown $PUID:$PGID "$PLAYWRIGHT_BROWSERS_PATH" +touch "$PLAYWRIGHT_BROWSERS_PATH"/.permissions_test_safe_to_delete chown $PUID:$PGID "$PLAYWRIGHT_BROWSERS_PATH"/* + # (this check is written in blood, QEMU silently breaks things in ways that are not obvious) export IN_QEMU="$(pmap 1 | grep qemu | wc -l | grep -E '^0$' >/dev/null && echo 'False' || echo 'True')" if [[ "$IN_QEMU" == 'True' ]]; then