Mongod Failed global initialization. Permission denied on log file

CONTROL [main] Failed global initialization: FileNotOpen: Failed probe for “/mnt/b/bd/mongod.log”: Permission denied Jan 12 06:43:27 ip-172-31-41-23 systemd[1]: mongod.service: Main process exited, code=exited, status=1/FAILURE Jan 12 06:43:27 ip-172-31-41-23 systemd[1]: mongod.service: Failed with result ‘exit-code’. Permissions are set to mongodb:mongodb i have tried repairing the db deleting the log file, mongodb.lock file and problem persists tried setting…

Details