[DOCS-132] --repair instructions should note permissions Created: 21/Feb/12  Updated: 30/Oct/23  Resolved: 21/Feb/12

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Michael A. Fiedler Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: repair, server
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 12 years, 1 day ago

 Description   

As noted in SERVER-2176, after running a mongod --repair function, it should be noted that the newly repaired files should be chmod'ed to the permissions relevant for the system, or have the repair be run as the mongod user.
This particularly applies to packaged deploys.



 Comments   
Comment by Sam Kleinman (Inactive) [ 21/Feb/12 ]

adding the following to the new docs:

Because :program:`mongod` rewrites all of the database files
during the repair routine, if you do not run :setting:`repair`
under the same user account as :program:`mongod` usually runs,
you will need to run ``chown`` on your database files to correct
the permissions before starting :program:`mongod` again.

Comment by Sam Kleinman (Inactive) [ 21/Feb/12 ]

new docs and <http://www.mongodb.org/display/DOCS/Durability+and+Repair#DurabilityandRepair-RepairCommand>

Generated at Thu Feb 08 07:37:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.