Read-only file system when attempting mkdir /data/db on Mac

后端 未结 16 2137
予麋鹿
予麋鹿 2020-12-07 10:28

I am trying to create a new folder in the main directory

Tried all kinds of examples

sudo mkdir /data/db

sudo mkdir -p /data/db<

16条回答
  •  天涯浪人
    2020-12-07 11:04

    You cannot create a /data/ directory. That is reserved for the APFS filesystem. Check Bombich’s blog about this issue.

提交回复
热议问题