title: Sonarqube 5.2 doesn't like working directory as a sym link. How to specify the working dir?
body: <p>With sonarqube 5.2, it uses Files.createDirectories which does not like if the last part is a sym link.
  <a href="https://bugs.openjdk.java.net/browse/JDK-8130464" rel="nofollow">https://bugs.openjdk.java.net/browse/JDK-8130464</a></p>
  
  <pre><code>Caused by: java.nio.file.FileAlreadyExistsException: /home/bamboo/.sonar
      at sun.nio.fs.UnixException.translateToIOException(UnixException.java:88)
      at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
      at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
      at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:383)
      at java.nio.file.Files.createDirectory(Files.java:630)
      at java.nio.file.Files.createAndCheckIsDirectory(Files.java:734)
      at java.nio.file.Files.createDirectories(Files.java:683)
      at org.sonar.batch.bootstrap.GlobalTempFolderProvider.createTempFolder(GlobalTempFolderProvider.java:83)
      ... 92 more
  </code></pre>
  
  <p>How are you supposed to specify the working directory? I've tried sonar.properties using the key sonar.working.directory but that did not seem to work.
  <a href="https://github.com/SonarSource/sonarqube/blob/master/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java#L457" rel="nofollow">https://github.com/SonarSource/sonarqube/blob/master/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java#L457</a></p>
  
  <p>Thanks in advance for your help.</p>