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 had the same problem, the only thing that I do was the next:
$ brew cask reinstall intellij-idea.
After that I open the IntelliJ and select the option related with import previous config.
That new version is able to be updated.