puppeteer-sharp
puppeteer-sharp copied to clipboard
Invalid path for linux Permission denied
https://github.com/hardkoded/puppeteer-sharp/blob/0c9362c830d86765119e72fc7a58fef528bcbd07/lib/PuppeteerSharp/BrowserFetcher.cs#L416C1-L417C1
archiveName is chrome-linux64.zip folder after extract is without .zip
but execPath contains archiveName
so execPath is [project folder]/bin/Debug/netcoreapp3.1/Chrome/Linux-119.0.6045.105/chrome-linux64.zip/chrome
but extractet path in file system is [project folder] /bin/Debug/netcoreapp3.1/Chrome/Linux-119.0.6045.105/chrome-linux64/chrome
then chrome binary will not have execute permission and fail to start
OS: Manjaro
Our builds run on Ubuntu without any issues.
We are running tar -xvjf \"{zipPath}\" -C \"{folderPath}\" to extract the tar file. Maybe that's behaving differently on your OS?
im on archlinux extraction is done here https://github.com/hardkoded/puppeteer-sharp/blob/0c9362c830d86765119e72fc7a58fef528bcbd07/lib/PuppeteerSharp/BrowserFetcher.cs#L385C1-L385C69
explicitly i do not extract anything as whole process is automated in BrowserFetcher
I'm not having this issue on Ubuntu :/
What's your .net version?
sdk 7 runtime 3.1
3.1 is out of support. Could you at least test with a newer version to confirm if it's a bug in the runtime?