When creating a sbt project using IntelliJ IDEA 13.1.4 with the Scala plugin 0.41.2 on Mac OS X 10.9.4, the following error has occurred:
[warn] problem while downloading module descriptor: http://repo1.maven.org/maven2/org/scalatest/scalatest_2.11/2.2.1/scalatest_2.11-2.2.1.pom: /Users/.../.ivy2/cache/org.scalatest/scalatest_2.11/ivy-2.2.1.xml.original.part (Permission denied) (384ms)
which prevents refreshing project dependencies.
What could be the issue and a solution?