Can not update Intellij because of error permission denied?

My Intellij version is 12.1 and new version is 12.1.4 so I want to update it but after dowloading new file it can not proceed because of file permission denied. Can any one tell me how to change permission so I can update my Intellij?

3

7 Answers

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

3

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

3

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.

6

I was having this problem with PhpStorm-183.4886.46. None of the answers dealing with permissions worked. In the end the problem was that there were several fsnotifier64 processes still running when PhpStorm quit to update that i had to kill manually

Running the IDEA would not be a good idea to run the Binary file of IntelliJ with sudo permission. Just modify the apprpriate xx.rule file under /etc/udev/rules.d, which has the specification of the USB port want to be accessed and then run intelliJ normally. Just Modify the MODE Attribute as it could be read and written for other users as well, something like 0666.

I'm on Manjaro Linux and installed through pacmac.

All I had to do was type sudo idea and start idea as root to update.

For anyone using JetBrains Toolbox, you can update your IntelliJ directly from there. Open the toolbox and click update next to the app you want to update (it will either show up as a button or by clicking on the 3 dots next to the app).

enter image description here

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like