Wow!  Thanks for the help.  See my comments below pertaining to individual
remarks.
--greg

Alex asked:

> is is possible that you saved the text file in DOS format, with CR-LF
> endings instead of LF only?
>
> If "od -t x2 hello.py" shows 0a0d sequences, this is the case. You could
> use dos2unix to convert.
>

$ od -t x2 hello.py
0000000 2123 752f 7273 622f 6e69 652f 766e 7020
0000020 7479 6f68 0a6e 7270 6e69 2074 6827 6c65
0000040 6f6c 202c 6f77 6c72 2764 000a
0000053

Nope.  That looks good.

Boyd Wrote:

which env
>
> ls -l /usr/bin/env
> ls -l /usr/bin/python


I'm not sure what you are asking here.

$ ls -l /usr/bin/env
lrwxrwxrwx 1 root root 8 May 18  2006 /usr/bin/env -> /bin/env

$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 9 May 18  2006 /usr/bin/python -> python2.4


Uwe Thiem <[EMAIL PROTECTED]> wrote:
>
> This leads to the question whether you can start *any* executable from
> your
> home directory (assuming you stored your script somewhere under your home
> directory). If not so, do you mount your /home partition with the "noexec"
> option?


I have the same problem with  Perl scripts; I haven't tried any others.  Is
there a way to tell how the partition is mounted?  I'm sorry to say that I
am a lowly user on the system and don't really know much about how it is set
up.

Thank-you so much for your attention.  This is a small problem, as I can run
the scripts with python (or perl) then the filename.  I'd just like to
understand what's happening.

--greg

Reply via email to