How to solve “/usr/bin/perl: bad interpreter: Permission denied” when installing TF2DNA ?
1
0
Entering edit mode
9.4 years ago

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 • 8.6k views
ADD COMMENT
1
Entering edit mode

What does which perl return?

ADD REPLY
1
Entering edit mode

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

ADD REPLY
1
Entering edit mode
9.4 years ago

/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).

ADD COMMENT

Login before adding your answer.

Traffic: 2656 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6