Skip to content

Set ownership on mongo config files#2

Closed
DavidWittman wants to merge 2 commits intobennojoy:masterfrom
DavidWittman:chown-mongo-config
Closed

Set ownership on mongo config files#2
DavidWittman wants to merge 2 commits intobennojoy:masterfrom
DavidWittman:chown-mongo-config

Conversation

@DavidWittman
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

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

@DavidWittman
Copy link
Copy Markdown
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