mac终端出现:Could not set environment: 150: Operation not permitted while System Integrity Protection is

mac终端出现:Could not set environment: 150: Operation not permitted while System Integrity Protection is engaged,这个错误是因为在mac

mac终端出现:Could not set environment: 150: Operation not permitted while System Integrity Protection is engaged,这个错误是因为在macOS系统中,System Integrity Protection (SIP) 被启用了。SIP是苹果为了增强系统安全性而引入的一种保护机制,它限制了对系统文件和设置的修改。当你尝试执行某些操作时,如果这些操作被SIP限制,就会出现类似的错误信息。

只要把sip关了就行了,m系列芯片先关机,再一直按住开机键进入恢复模式,在最上方有个地方可以进入终端,输入:csrutil disable 就可以关闭sip了

intel芯片好像是按住cmd + r进入恢复模式

我亲身经历,实验有效!

发布者:admin,转转请注明出处:http://www.yc00.com/web/1755498761a5235427.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信