fix playwright browsers path not having hidden dir inside chowned

This commit is contained in:
Nick Sweeting 2024-01-11 17:26:58 -08:00
parent eb2112e5b1
commit df11a8a3ba

View file

@ -95,7 +95,7 @@ fi
export PLAYWRIGHT_BROWSERS_PATH="${PLAYWRIGHT_BROWSERS_PATH:-/browsers}" export PLAYWRIGHT_BROWSERS_PATH="${PLAYWRIGHT_BROWSERS_PATH:-/browsers}"
mkdir -p "$PLAYWRIGHT_BROWSERS_PATH/permissions_test_safe_to_delete" 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"/*.*
rm -Rf "$PLAYWRIGHT_BROWSERS_PATH/permissions_test_safe_to_delete" rm -Rf "$PLAYWRIGHT_BROWSERS_PATH/permissions_test_safe_to_delete"