Failed to unlink socket file

Hi,

I have to put in my command line

sudo pkill -f mongod

before having my mongod running…

and I receive in end…

    2020-04-19T15:46:07.509+0200 I  NETWORK  [listener] Listening on /tmp/mongodb-27017.sock
2020-04-19T15:46:07.509+0200 I  NETWORK  [listener] Listening on 127.0.0.1
2020-04-19T15:46:07.509+0200 I  NETWORK  [listener] waiting for connections on port 27017
2020-04-19T15:46:07.509+0200 I  SHARDING [LogicalSessionCacheReap] Marking collection config.transactions as collection version: <unsharded>
2020-04-19T15:46:08.000+0200 I  SHARDING [ftdc] Marking collection local.oplog.rs as collection version: <unsharded>

if not, i receive

Failed to unlink socket file /tmp/mongodb-27017.sock Operation not permitted

The solution of get right do not work

sudo chown `whoami` /tmp/mongodb-27017.sock