Task: Fix MongoDB Service Startup Failure Due to File Ownership/Permission Issues
Task: Fix MongoDB Service Startup Failure Due to File Ownership/Permission Issues: a task in Terminal-Lego-15k (Harbor dataset). After installing MongoDB on an Ubuntu system, a user modified /etc/mongod.conf to enable authorization. After restarting the service, MongoDB fails to start with exit…
The task
After installing MongoDB on an Ubuntu system, a user modified `/etc/mongod.conf` to enable authorization. After restarting the service, MongoDB fails to start with exit code 14. The root cause is that the `mongodb` user (which the systemd service runs as) does not have proper ownership/permissions on MongoDB's data…
Part of PrimeIntellect/Terminal-Lego-15k.