I just finished installing MongoDB on OSX and setup a directory structure with sudo mkdir -p /data/db
.
When I attempt to run mongod
from my user account it returns an error stating that my user account does not have read/write permission to /data/db
.
How can I set the proper read/write permissions on my account for /data/db
?