Re: Permission issue

From: Rhys Campbell <rhys.james.campbell@xxxxxxxxx>
To: mongodb-user <mongodb-user@xxxxxxxxxxxxxxxx>
Date: Fri, 29 Apr 2016 06:47:36 -0700 (PDT)
Why ads?
Looks like you've installed as root and not changed ownership of the files 
to the appropriate users.

The file...

/Users/Gayathri/.mongorc.js

Should probably be owned by your login. Check this with ls -lh.

Change with

chown Gayathri:<your group>/Users/Gayathri/.mongorc.js


The the /data/db/* files are normally owned by the mongod user. Again check 
with ls -lh

If this user exists on your system you'd do...

chown -R monogod:mongod /data/db

See here for detail instructions on installing on OS X

https://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/



down 

-- 
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
--- 
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/26067779-5a24-4e97-ad3f-364759a39bf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Why ads?