SonarScanner fails with error Permission denied

HI
I have tried this from windows and it all worked perfectly fine. However I’m running this on bitbucket pipeline and have issue with the security.
I can see form the log that it launches on begin - so it feels that it can run. But I suspect that end command needs access somewhere or create cache or something and it fails on that…
There is no debug info I can see…
any other advice?