Unable to execute the script

Smaran Harihar smaran.harihar at gmail.com
Fri Aug 10 15:35:06 EDT 2012


Hi Tim,

this is the output for the ls -lsF filename

8 -rwxr-xr-x 1 root root 5227 Jul 30 13:54 iplantgeo_cgi.py*

On Fri, Aug 10, 2012 at 12:20 PM, Tim Chase
<python.list at tim.thechases.com>wrote:

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


-- 
Thanks & Regards
Smaran Harihar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120810/925dae73/attachment.html>


More information about the Python-list mailing list