On Apr 3, 12:54 am, JLathem <[EMAIL PROTECTED]> wrote:
> The first time I boot my server and view my django app I get the
> following message
>
> ===========================================================================
> ExtractionError: Can't extract file(s) to egg cache
>
> The following error occurred while trying to extract file(s) to the
> Python egg
> cache:
>
> [Errno 13] Permission denied: '/egg_cache/bgy/MySQL_python-1.2.2-
> py2.4-linux-i686.egg-tmp'
>
> The Python egg cache directory is currently set to:
>
> /egg_cache/bgy
>
> Perhaps your account does not have write access to this directory?
> You can
> change the cache directory by setting the PYTHON_EGG_CACHE environment
> variable to point to an accessible directory.
> ===========================================================================
>
> After doing a "service httpd restart" everything works fine. I have
> read the documentation here (http://www.djangoproject.com/
> documentation/modpython/) about setting the egg cache path and I've
> done that (you can see in the error message that I am not using the
> standard egg path). I have also tried it without setting the egg path
> and I get the same error. I made apache the owner and group of the
> egg cache folder and also chmod 777 on the folder with still no luck.
> Can someone help me out and tell me what I am missing?
Do you have SELinux enabled?
BTW, setting a directory to 777 permissions is really bad.
Send a 'ls -las' listing output of '/egg_cache/'.
Graham
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---