Can not update Intellij because of error permission denied?

Had the same issue with Idea IntelliJ 2016.2

You should set the user and group of your idea folder to yourself. (or a group that you share with other users, if you need)

In my case, it was because some files in idea were assigned to root:root, and I didn't see the point.

So I ran: sudo chown -R jcharlet:jcharlet /opt/idea-IC-162.1121.32


The solution Jeremy provided is the best one on my opinion. What I would recommend is to use whoami utility call to set parameters of the current console user automatically like

sudo chown -R $(whoami) /opt/idea-ICblablabla


Go to the /bin Folder of the "Idea", for Example (or in my case):

/opt/idea-IC-135.690/bin

and there start the App, with sudo. Like this:

sudo ./idea.sh

Just update,

if you have any /tmp memory space problem, restart your OS and try the step again.

Hope this help you.

Tags:

13.04

Intellij