Starting mongodb via systemctl and a non-default directory
I’m debugging a mongodb (7.0) instance which should start via systemctl on AlmaLinux 9 and use a non-default data directory (/data/mongo) – after the typical problems and googling, the file permissions on /data/mongo are set to mongod:mongod. There still are errors that there are insufficient file-permissions – on explicitly that path.