Cannot update IntelliJ IDEA in Mac OS X
I recently got a error about update IntelliJ IDEA. The error as follows:
IDEA does not have write access to
/Volumes/IntelliJ IDEA 14/IntelliJ
IDEA 14.app/Contents. Please run it by a privileged user to update.
So I cannot update. Please show me how to solve this problem.
Solution 1:
How I managed to resolve this is by changing the owner on IntelliJ .app file, good ol' chown
sudo chown -R <your id> /Applications/IntelliJ\ IDEA\ 14.app
I was in the same situation as the bug listed above by Greg (the original install was done by our IT admin and I am also an admin user on the machine).
Solution 2:
It looks like you are running IntelliJ IDEA from a mounted read-only disk image (DMG file) that you downloaded. You need to drag the "IntelliJ IDEA 14.app" program into your application folder and run it from your hard drive.
Solution 3:
I had similar problem, but in my case, the computer is shared, so I can't change owner of folder. But I'm on admin
group. By running this command update works.
sudo chmod -R g+w /Applications/IntelliJ\ IDEA\ CE.app/