Probably this problem has been issue before, but I couldn't find an
easy explanation.
My problem: When Uploading an image I cannot write to the "image"
directory.
What I have done: I already changed the permissions on my main
directory, and Image directory with 777 and still I'm not able to
write to that directory.
I'm a superuser running the development server with django 1.1 alpha 1
SVN-9984
 in a Ubuntu 8.04 - the Hardy Heron box.
The database that I'm using is Postgresql and Python2.5.
I read in some post that the webserverprocess might not have
permissions to write to the directory.
My question is which file or directory controls this webserverprocess?
or what can I do to solve my problem.
Thank you in advance.
Here is the error output that I get:
File "/usr/lib/python2.5/os.py" in makedirs
  164.             makedirs(head, mode)
File "/usr/lib/python2.5/os.py" in makedirs
  164.             makedirs(head, mode)
File "/usr/lib/python2.5/os.py" in makedirs
  164.             makedirs(head, mode)
File "/usr/lib/python2.5/os.py" in makedirs
  171.     mkdir(name, mode)

Exception Type: OSError at /imageupload/
Exception Value: [Errno 13] Permission denied: '/home/Djangoprojects'


--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to