[LIP] Problem executing scripts Bad Interpreter

Vardhman Jain <vardhman-9geRo0GdX4kE71Kmvb/[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Hi all,
	I am facing this strange problem, now the second time. I have a 
partition with the info
df:
	/dev/hda11             6048320   1821172   3919908  32% /fun
fdisk:
	/dev/hda11         1403      2167   6144831   83  Linux

this time and also previously, when I copied some executable here and 
tried to execute them I got the error "
"-bash: ./configure: /bin/bash: bad interpreter: Permission denied"

 with "/bin/bash" and also "/usr/bin/env python". I have checked the file 
permissions to be executable by all. The strange thing is that I am able 
to run the script by saying "python <scriptname>" and not by 
./scriptname(for the python script containing #!/usr/bin/env python at the top).

Last time I solved the error by just copying the executable to some other 
partition, but this time the file sizes are quite big and I cannot repeat 
the same method.

Could some one tell me the reason for this error and also how to recitify 
it. I guess something to do with partition mounts etc.



Vardhman
-- 
Vardhman Jain
III Year B.Tech. CSE
IIIT-Hyderabad
Address:
Room No 27, NBH, IIIT-Hyderabad,Hyderabad 500019

presence on net:
    http://students.iiit.net/~vardhman




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.