Re: executable python scripts

Guido.van.Rossum@cwi.nl
Tue, 21 Mar 1995 14:00:54 +0100

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

--Guido van Rossum, CWI, Amsterdam <mailto:Guido.van.Rossum@cwi.nl>
<http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>