Sunday, August 4, 2013

Re: [Errno 13] Permission denied: '.cache' - where is the directory I need to change permission

From my opinion you as user don't have appropriated permissions. Ask from your server administrator to upgrade your permissions. You will have the same problem later when django apps try to create folders to store images or something other but it depend from your installed apps.



On Saturday, August 3, 2013 5:28:51 PM UTC+2, Frank He wrote:
I am now deploying my django project using apache mod_wsgi, after a lot effort, it is near the end. But now when I run my project directly, I am stuck with a permission issue, and got this error:

OSError at /

[Errno 13] Permission denied: '.cache'
Request Method: GET
Request URL: http://10.3.94.239/
Django Version: 1.4
Exception Type: OSError
Exception Value:
[Errno 13] Permission denied: '.cache'
Exception Location: /usr/lib/python2.6/os.py in makedirs, line 157
Python Executable: /usr/bin/python

I believe this is because the cache can not be written, so natually,  I need to change its permission. But WHERE?

I don't know how to find out the directory.

Can you tell me anything about this?

Thanks very much in advance.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate