You would be absolutely correct, I just changed the ownership with the command below (in case others need it) and it works just fine now.

sudo chown -R mongodb:mongodb /data/db

Thank you all for the help.

1 Like