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/7md3pcy10x9cxjdt9nzxjvdr0000gn/T/AppTranslocation/97E0DA6A-73B2-4439-91AE-F7DD0353F063/d/IntelliJ IDEA.app/Contents
I can't modify the permissions of that folder because it is read-only. I've tried chown
and chmod
as root, neither of which work.
sudo xattr -dr com.apple.quarantine IntelliJ\ IDEA.app/
sudo chmod -R 777 IntelliJ\ IDEA.app/
these commands work recursively and fix the trouble