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