Report this

What is the reason for this report?

unable to run bash file

Posted on April 18, 2017

i created droplet of ubuntu 12.04 64bit and trying to install Network simulator. but when i run command ./install i got following error: -bash: ./install: permission denied any help will be appreciated! thank you



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Have you tried running it under sudo? So:

sudo ./install

If you are installing likely needs different permissions, if not I’d say confirm the requirements of your Network Simulator.

@errahulwadhwa

There’s a few ways to execute the file. First, you can give it execution rights using:

chmod +x install.sh

and then run ./install or you can use:

bash ./install

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.