Unable to execute the script

Tim Chase python.list at tim.thechases.com
Fri Aug 10 15:20:26 EDT 2012


On 08/10/12 14:14, Smaran Harihar wrote:
> If you mean chmod +x <filename>
> 
> then yes it has been set.

I'm not sure how Ubuntu defaults if you don't specify *who* should
receive those +x permissions.  I'd make sure they've been set for
everybody:

  $ chmod ugo+x myfile.py

You can check this by doing an "ls -lsF myfile.py" and you should
see 3 "x"s in the permission column, something like


 123 rwxr-xr-x 1 smaran smaran 31415 Apr 27 2012 myfile.py
       ^  ^  ^

If those are set properly, then Dave's suggestions are the next to try.

-tkc






More information about the Python-list mailing list