1
0
Fork 0
mirror of synced 2024-06-18 18:34:51 +12:00

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}"
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"/*.*
rm -Rf "$PLAYWRIGHT_BROWSERS_PATH/permissions_test_safe_to_delete"