[DOCS-9809] Improve instructions for OS X installation using Homebrew Created: 23/Jan/17 Updated: 30/Oct/23 Resolved: 24/Oct/19 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Raphael Londner | Assignee: | Andrew Aldridge |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 4 years, 16 weeks ago |
| Epic Link: | DOCSP-1769 |
| Story Points: | 0.5 |
| Description |
|
On https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/#run-mongodb, we're a bit terse about the steps necessary to grant the appropriate permissions to the /data/db folder in order for the mongod process to properly run. In some cases, the current user is not necessarily super admin of his own MacOS machine and would have to run sudo mkdir /data/db to get the db folder created. In this situation, permissions need to be manually set as well for the mongod process to run properly. I've found that the following command line worked for me, is there a way you could mention it in our OSX setup docs as a suggestion, at least? (in case the user wants to run the mongod process with the identity of the current user) sudo chown -R `id -un` /data/db |
| Comments |
| Comment by Kay Kim (Inactive) [ 24/Oct/19 ] |
|
We've updated the page using MongoDB Homebrew tap and for the tar install/run – a separate project is underway to vet out the installation. Currently, working through the linux installs first – and are planning on using same directories as those mentioned in the packaged conf file. |