IntelliJ doesn't have write access on MacOS so it can't update
已回答
I'm very new to Mac please help lol
请先登录再写评论。
It looks like you run IntelliJ IDEA directly from the .dmg file. You should drag it into the Applications folder and run it from there.
You may also consider using https://www.jetbrains.com/toolbox-app/ for the seamless installation and updates.
It worked! Thank you very much lol
Toolbox might be a way to go, but I had installed Idea and it was updating for many months. With new update 2024.2.1 came out it tells me it has no write access to `/Applications/IntelliJ IDEA.app/Contents` folder and asks to run it as privileged user.
Zikolach Hi,
Please open the Terminal app, and run ls -al /Applications/IntelliJ\ IDEA.app, and share the output.
Check if the file permission is wrong there. It should have similar permission as below:
total 0
drwxr-xr-x@ 3 your_username admin 96 Aug 12 17:33 .
drwxrwxr-x 15 root admin 480 Aug 19 19:13 ..
drwxr-xr-x@ 16 your_username admin 512 Aug 12 17:33 Contents
Now when I think of it it looks it has something to do with a company-managed laptop policy (using Mosyle Self-Service software).
ls -al /Applications/IntelliJ\ IDEA.app
total 0
drwxr-xr-x@ 3 20 staff 96 Aug 28 21:08 .
drwxrwxr-x 41 root admin 1312 Aug 30 09:36 ..
drwxr-xr-x 15 20 staff 480 Aug 28 21:08 Contents
If the `IntelliJ\ IDEA.app` was installed by Mosyle Self-Service software, you may ask IT to see if they can update the IDE on their side and deploy the new version.
Or change the permission of this `/Applications/IntelliJ\ IDEA.app` (e.g. add write permission for `Others` group) so you can update it from the IDE itself.
I've installed it using Homebrew, but the owner was root, group wheel. I've changed the group to staff and added the write permission to the group:
Hi,
i've used the next solution:
Maybe it will help somebody
Andreyravkov solution works. One minor thing I'd like to add is the step to show “Contents” folder. Right click on “Rider” app and then click on “Show Package Contents” → this shows “Contents” folder. Then follow his instructions exactly as stated.