mac read-only file

 

[Mac创建文件夹报Read-only file system]

一、关闭SIP

1.重启Mac,按住cmd+R进入Recovery模式

2.打开终端,输入csrutil disable关闭SIP

3.重启Mac,输入csrutil status查询SIP状态

二、挂载目录为可写

sudo mount -uw /

三、执行创建目录等操作

四、开启SIP

步骤同一,命令换为csrutil enable



链接:https://www.jianshu.com/p/b0cd5f04ccd5

posted @ 2021-09-26 14:37  hubb  阅读(175)  评论(0编辑  收藏  举报