Type in terminal

sudo chown -R $USER /data/db

and call “mongod”