Choonster/catalogue-scanner

Can't run Playwright installation script on Linux: permission denied

Closed this issue · 1 comments

With the change in 41bad70, the application fails at startup on Linux app service plan with this error:

System.Diagnostics.Process: An error occurred trying to start process '/home/site/wwwroot/bin/.playwright/node/linux/playwright.sh' with working directory '/'. Permission denied.

This could be due to the directory the script is in, or the file permissions on the script itself (e.g. execute permission not set).

Fixed by the workflow changes in 5c87d29 (suggested in Azure/functions-action#52 (comment)).