./install_bam.sh and i get an error stating "cannot execute Binary file

Asked

Viewed 40 times

1

I am trying to install software. When I try to run chmod + x . /install_bam.sh command to get permission to run . /install_bam.sh I get an error saying "cannot execute Binary file".

The file permissions are fine. I tried to do it as root as well.

Any leads, ideas?

1 answer

0

Try: chmod +x install_bam.sh

Syntax of the chmod command:

chmod [-Fv] [-R [-H | -L | -P]] mode file ...
chmod [-Fv] [-R [-H | -L | -P]] [-a | +a | =a] ACE file ...
chmod [-fhv] [-R [-H | -L | -P]] [-E] file ...
chmod [-fhv] [-R [-H | -L | -P]] [-C] file ...
chmod [-fhv] [-R [-H | -L | -P]] [-N] file ...

that is to say:

chmod +flags file
chmod mode file

source

Browser other questions tagged

You are not signed in. Login or sign up in order to post.