16

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.

Giacomo1968
  • 58,727
MichaelP
  • 261

5 Answers5

36

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).

Ramhound
  • 44,080
8

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/
LuisComS
  • 181
2

You can also use the Toolbox app to update IntelliJ. https://www.jetbrains.com/toolbox/app/

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.

Mr. Mel
  • 121
0

In my case quitting the app and relaunching it helped.


I think that my problem was that I actually had IntelliJ IDEA already updated but not relaunched as:

  • before quitting updater shown updates available to install (and the error message when trying to apply them),
  • after relaunch updater told me that I already have the latest version.


My other theory is that I had issues as I use 2 user accounts on my Mac and I may have been hit by something similar to this bug. But both first and second run of the app was done by the same user this time, so this shouldn't be the case here.