Trying to upgrade Intellij IDEA from 2016.2 to 2016.2.5 and I am getting this error:
IDEA does not have write access to /private/var/folders/_q/7md3pcy1
I know this is quite an old post, but I found a quick solution in MacOS.
Navigate to your .app file, and view the contents of it.
Right click on the "Contents" folder, and go to "Get Info".
In the permissions section, select "Read & write" for each element.
Restart IntelliJ.
This solved the problem for me, hope it helps others too!