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
If you face this issue in MacOS Mojave, then you should execute following command:
sudo chmod -R 775 /Applications/IntelliJ IDEA.app/Contents/