Open RothAndrew opened 1 month ago
Something else I discovered is that on my Macbook the error didn't happen. There's something different with how docker run
behaves between Mac and Linux when it comes to mounting volumes and file/directory permissions.
Yeah, it works fine on my Macbook. I dont have a linux system handy to check that..
The first place it happened for me was in a GitHub Actions run, then confirmed on my local Rocky9 box after about 2 hours of troubleshooting 🙃
Is your feature request related to a problem? Please describe.
If you do something like
but
$PWD/zap/wrk
doesn't already existand try to run one of the python scripts like
zap-api-scan.py
Then inside the container
/zap/wrk
will be owned by root and zap-api-scan.py will throw a very generic and unhelpful error of "Failed to start ZAP"Describe the solution you'd like
I'd like it to throw a more helpful error message like "permission denied, the /zap/wrk folder is owned by root" (or something like that)
Describe alternatives you've considered
n/a
Screenshots
No response
Additional context
No response
Would you like to help fix this issue?