Re: executable python scripts

Tako Schotanus (sst@bouw.tno.nl)
Wed, 22 Mar 1995 09:10:33 GMT

In article <9503211300.AA06750=guido@voorn.cwi.nl>, Guido.van.Rossum@cwi.nl says:
>
>> I am running python 1.1.1 under SunOS (soon to be Solaris)
>[...]
>> I then made the following file (called fred),
>>
>> #!/data/maths/graham/APP/PYTHON/bin/python
>> print "a"
>>
>> Now when I run fred by doing say "./fred", I get the message
>> "./fred: Permission denied.".
>
>Some OS'es have a limit of 32 bytes on the pathname used here. Try a
>shorter path... (It may be a symbolic link I think.)

The problem could also be the shell you're using: I have the same
problem sometimes with newly created shell-scripts, my shell just
doesn't seem to understand what it should do. Everything works fine
though after I started a new shell (normally I open a new xterm and
close the old one, in the new one everything works just fine. Why?
Beats me :( )

Tako

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Tako Schotanus TNO Building and Construction Research _/
_/ Phone : +31 15 842393 Fax : +31 15 122182 E-mail : sst@bouw.tno.nl _/
_/ My employer is required,by Dutch law,to disagree with whatever I say _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/