關閉Mac OS 的Rootless

今天在使用mac的時候,需要刪除 /usr/bin/下的 自帶的php文件。然後提示Operation not permitted 使用sudo 依然不可以,通過google 得到解決方案。 需要關閉Mac  OS的 Rootless 重新電腦,按住 Command+R 進入恢復模式  打開Terminal 然後選擇 csrutil disable 最後重啓電腦即可
相關文章
相關標籤/搜索