El Capitan 加入了Rootless机制,不再能够随心所欲的读写很多路径下了。设置 root 权限也不行。
关闭 Rootless。
1、重启按住 Command+R,进入恢复模式,打开Terminal。
>> csrutil disable
>> reboot
复制代码
2、如果要恢复默认,那么
>> csrutil enable
复制代码
3、查询 Rootless 保护的状态
>> csrutil status
复制代码
El Capitan 加入了Rootless机制,不再能够随心所欲的读写很多路径下了。设置 root 权限也不行。
关闭 Rootless。
1、重启按住 Command+R,进入恢复模式,打开Terminal。
>> csrutil disable
>> reboot
复制代码
2、如果要恢复默认,那么
>> csrutil enable
复制代码
3、查询 Rootless 保护的状态
>> csrutil status
复制代码