Permissions like "775" mean nothing on their own. Permissions are
relative to the user and group involved. When you're running things from
mod_python, the important question would be whether the webserver has
write permission to those directories in order to write the .pyc files.
However, that's only "important" in the sense that it's not really a
good idea to allow. Letting your web server only *read* from executable
file directories is really important for security reasons. For this
reason, Python ships with the 'compileall' module (which can also be
executed as a script from the command line). You run "compileall.py ..."
as somebody who does have permission to write the directory that holds
the executable files and compile them to .pyc files. Then your webserver
sees the benefit without opening up unneeded permissions. Read the
docstring at the top of the "compileall.py" file for instructions on how
to use it.
Regards,
Malcolm
Hopefully this makes a little more sense now.
Cheers!
Jeff Anderson