Mongo: Change permission owner

Mongo: Change permission owner

Type in terminal

sudo chown -R $USER /data/db

and call “mongod”