Must-share information (formatted with Markdown):
Sonarqube LTS 8.9
Build and Scan C code
We have tried what has worked for many other projects. Build using build wrapper, then scan. All seems well, except…
When trying to run a clean build with the Build Wrapper, we get an “access is denied” error. We’ve checked permissions on everything from the wrapper, to gmake, to the CCS compiler and environment, and the source folders. The scan post build attempt “works” in that it completes the scan, but of course it is empty. We’re trying to figure out what access is denied in this message:
Our IT may not let us do that, even temporarily. But I’ll have the developer try and see if she can.
What would your next thought be if that doesn’t work or if IT won’t let us? It would be a bit of a pain to disable that to run every scan from her system.
The developer fixed the issue by tracing permissions on anything and everything they could and setting them appropriately. We thought we had checked everything (build wrapper, compiler, directories, etc). They are using a TI CCS compiler, so there are some nuances to check for with those permissions when using command line. Thanks!