美文网首页
Mac终端operation not permitted问题

Mac终端operation not permitted问题

作者: 隐身人 | 来源:发表于2020-05-29 16:48 被阅读0次

Max OS 新增了rootless功能, sudo也不能拯救, 所以如果需要执行,需要先关闭rootless功能。

1.重启,过程中按住 command+R,进入保护模式

2.在电脑上端边栏中找到工具,找到terminal然后打开terminal终端,输入

csrutil disable

3.再次重启,就可以对 usr目录下文件进行修改

相关文章

网友评论

      本文标题:Mac终端operation not permitted问题

      本文链接:https://www.haomeiwen.com/subject/anhfzhtx.html