Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set ownership on mongo config files #2

Closed
wants to merge 2 commits into from

Conversation

DavidWittman
Copy link
Contributor

Without setting the ownership of the config files properly,
the mongo user is unable to read them and fails with the
following message:

ERROR: could not read from config file

Setting the ownership to the mongo user and group fixes this issue.

Without setting the ownership of the config files properly,
the mongo user is unable to read them and fails with the
following message:

> ERROR: could not read from config file

Setting the ownership to the mongo user and group fixes this issue.
@DavidWittman
Copy link
Contributor Author

Looks like the same ownership is required for repset_init.js as well. Additional commit inbound.

Otherwise, the mongod user won't be able to read it when
attempting to initilize the replica set.
@DavidWittman
Copy link
Contributor Author

Whoops... f73ba00 wasn't necessary. I'm going to open a new PR without it.

@DavidWittman
Copy link
Contributor Author

Closing in preference of #3

@DavidWittman DavidWittman deleted the chown-mongo-config branch March 20, 2014 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant