node.jsmongodbamazon-web-servicescloud9-ide

bash: /home/linuxbrew/.linuxbrew/bin/mongo: Permission denied [MongoDB 4.4 set up on AWS cloud 9 IDE]


I'm trying to install Mongodb version 4.4 on a AWS IDE (using a Mac and Ubuntu set up). I receive the following error message:

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

It seems it's a permission issue, however I have no idea to to rectify this. Any ideas or steps to take to resolve this?


Solution

  • it seems there is already a discussion about this error on the MongoDB forum.

    Here is the link

    They closed it as Won't fix.

    The final answer was provided by Mathew Robinson as:

    Closing this as Won't Fix, it seems that Linuxbrew is a very small subset of homebrew users and we support from source builds as well as Linux packages for all distributions we support.

    In the case of Linuxbrew it would just be a way to run our from source builds that we already document how to do.