Sonarqube C# MsBuild Access denied

拥有回忆 提交于 2019-12-05 23:46:02

Try running:

chmod +x /Users/magic/Documents/Projects/services/sonar-scanner-msbuild/sonar-scanner-3.0.3.778/bin/sonar-scanner

The crux is found in the first line of the stacktrace:

System.ComponentModel.Win32Exception ... Native error= Access denied

It appears that the user running the analysis doesn't have the permissions it needs to the application directory. Specifically, in addition to reading all the project files, it must be able to create its data directory (.sonar) and create and write to files in that dir.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!