I get in my error.log the following:
[Tue May 03 16:42:21 2011] [error] [client 127.0.0.1] [Errno 13] Permission denied: '/Dropbox/project/www/mod_wsgi/egg-cache'
[Tue May 03 16:42:21 2011] [error] [client 127.0.0.1]
[Tue May 03 16:42:21 2011] [error] [client 127.0.0.1] The Python egg cache directory is currently set to:
[Tue May 03 16:42:21 2011] [error] [client 127.0.0.1]
[Tue May 03 16:42:21 2011] [error] [client 127.0.0.1] /Dropbox/project/www/mod_wsgi/egg-cache
[Tue May 03 16:42:21 2011] [error] [client 127.0.0.1]
[Tue May 03 16:42:21 2011] [error] [client 127.0.0.1] Perhaps your account does not have write access to this directory? You can
[Tue May 03 16:42:21 2011] [error] [client 127.0.0.1] change the cache directory by setting the PYTHON_EGG_CACHE environment
[Tue May 03 16:42:21 2011] [error] [client 127.0.0.1] variable to point to an accessible directory.
what and how should i set it up?
UPDATE:
permissions currently:
drwxr-xr-x 4 petarpetrov admin 136 Apr 30 13:38 mod_wsgi
Also, both User and Group of Apache both seem to be _www for some reason
In order to create files in a directory, the user Apache is running as needs to have write permissions to it. Currently Apache is running as
_wwwuser in the_wwwgroup, whilepetarpetrovowns the directory and is the only one allowed to write to it.In order to allow
_wwwto write to that directory you should change the group which owns it to_wwwand change the directory permissions:This should change the group ownership to
_wwwand allow that group to write to that directory. Depending on what goes into that directory, more permissions may be required.