mongodb mkdir /data/db read-only file system code example Example: mkdir: /data/db: Read-only file system mkdir -p usr/local/var/mongodb/data/db