0

when i try to start mongodb in vscode as:

$ mongod 

it replay:

bash: /home/linuxbrew/.linuxbrew/bin/mongod: Permission denied 

why and how to fix it?

1
  • 1
    And what is result of command 'ls -al /home/linuxbrew/.linuxbrew/bin/mongod'? Who owns that file? Is it same user what you use to run vscode? Use command 'id' in vscode.
    – JJussi
    Sep 25 at 5:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.