The first thing to check would be the file permission bits on the file
"hi.py" to be sure the execute bit is set.  From your command line, just
type "ls -al hi.py".  The first 10 characters from the output should show
you what bits are set and you are looking for an "x" in the fourth
character.  For example:

-rwxr--r--

This means the owner has read,write,execute privileges while group and world
have read only.  If you don't have execute privileges, simple type:

"chmod u+x hi.py"


Hope this helps.  The same thing was driving me batty until this morning on
a Linux machine after splitting a script into two parts.  The old one had
the execute bit set but the new one didn't.

Randy

On 04/06/10 12:31 PM, "AhmadKhaled" <[email protected]> wrote:

> 
> "python hi.py map=geol...@permanent"
> 
>  and I got the following error:
> 
> "execl() failed: Permission denied"
>  

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to