This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to solve “/usr/bin/perl: bad interpreter: Permission denied” when installing TF2DNA ?

I have this error when I try to install TF2DNA using cygwin. The program can be downloaded from this link http://www.fiserlab.org/our_programs.htm

At first I set my directory to go to the folder where the installer is located.

cd /cygdrive/c
cd TF2DNA_v0.31
./tf2dna_installer -i

When I try to execute it I received the error below:

Error

-bash: ./tf2dna_installer: /usr/bin/perl: bad interpreter: Permission denied

Can anyone help me?

cygwin tf2dna

What does which perl return?

This is not a really a bioinformatics question and should be more appropriate on StackOverflow (which surely already has an answer to this question).

1 answer

/usr/bin/perl: bad interpreter: Permission denied can have two causes: a bad shebang line in the script (e.g. Windows end of line character) or a permission problem with the filesystem the script is on (e.g. mounted with noexec permissions).

Log in to answer this question.