On Mon, 2008-07-14 at 16:09 -0700, Dana wrote: > Hi EAMiller, > > Im not seeing errors, Its just not compiling the python files (which > it should be). > > I tried a few combinations, but I believe all I need to do is set the > chmod to 775 for the source folder (in this case "src")?
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---