Tag - installation

Permissions Issue When Upgrading MongoDB with Custom dbPath or logPath

mongodb permissions issue

In Linux distributions, installing MongoDB for the first time using rpm/dpkg will create a conf file, dbPath, logPath and the init scripts on default paths. This includes the creation of a mongod user/group and provides mongod permissions to both the default dbPath (/var/lib/mongo) and logPath (/var/log/mongodb/mongod.log). Then you edit the settings in the config file […]

Read more