Hi, I have a python cgi script (called image.cgi) which works fine when I run it from the terminal as a py script, but when I try and run it from my apache web directory, I get the following error in the apache log.
The error seems to say that the access to trackDB.txt is denied, but I have the file access at 755 (trackDB.txt will just have some text written to it).
A regular python cgi script seems to work for example, a simplified version of my code with error catching...
Check the owner (uid) of the file to make sure that it is the effective uid of what is running the script since -rwx- permission is given in that case. Write permission is not given to the group or others! Resolve that conflict.
Errno 13 probably refers to a standard Unix error code (EPERM, I am guessing).
Bookmarks