One - One Code All

Blog Content

Mac root Operation not permitted解决方案

Linux-Mac   2019-03-02 11:10:14

Mac root Operation not permitted解决方案


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


STEP 1:关机、重启进入恢复模式

重启系统。 按住Command + R进入恢复模式, 在菜单中打开Terminal


STEP 2:关闭rootless

输入:csrutil disable

重启设备


STEP 3:拷贝完成,重新打开rootless

重复STEP1,输入:csrutil enable



上一篇:系统命令执行python安装包gunicorn,uwsgi
下一篇:uwsgi+flask配置

The minute you think of giving up, think of the reason why you held on so long.