Upgrading IntelliJ IDEA after Sierra Upgrade: does not have write access to /private/var

后端 未结 13 1254
刺人心
刺人心 2021-02-02 08:44

Trying to upgrade Intellij IDEA from 2016.2 to 2016.2.5 and I am getting this error:

IDEA does not have write access to /private/var/folders/_q/7md3pcy1

13条回答
  •  故里飘歌
    2021-02-02 09:38

    This is happening because of some new security feature in Sierra. I found some information about it here http://lapcatsoftware.com/articles/app-translocation.html

    The work around I used was to go to the Application directory where the Intellij app was and delete the xattr com.apple.quarantine from the app. This stops the app from opening up in that read only directory.

    ex.

    xattr -d com.apple.quarantine IntelliJ\ IDEA.app
    

提交回复
热议问题