Problem scenario
You are trying to set up SonarQube for the first time. You run this command:
bash /opt/sonarqube/bin/linux-x86-64/sonar.sh console
You see this error:
“jvm 1 | java.nio.file.AccessDeniedException: /opt/sonarqube/temp/conf/es/elasticsearch.yml”
What do you do?
Solution
Make sure that the user who is running the command has the ability to execute files in the /opt/sonarqube/ directory (or wherever the destination is that you are installing Sonarqube).
…
Continue reading “How Do You Get around The AccessDeniedException Error with SonarQube?”