i had the same issue a few days ago and i solved it by simply adding
write permission to all for the given directory, not for the whole
/media/ or even home.

your error differs a bit from mine... does the directory /imageupload/
exist in /home/Djangoprojects ??



Chirolo wrote:
> Hi Bayuadji.
> I already change the permissions for my Djangoprojects directory to
> rwxrwxrwx, but still couldn't write to my Image directory, which I
> also changed the permissions.
> Do I need to change the permissions to my /home directory?
> Here are the permissions of my home directory -----> dwrxr-xr-x
>
> On Oct 9, 7:31 pm, Bayuadji <bayua...@gmail.com> wrote:
>   
>> Hi Chirolo
>>
>> On 10/9/09, Chirolo <wist...@gmail.com> wrote:
>>
>>
>>
>>     
>>> 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'
>>>       
>> I think the error comes when creating a directory though.
>> have you change the permission for '/home/Djangoprojects'?
>>
>> -djibon-
>>
>> --
>> --------------------------------------------------------------http://www.tumbletooth.org
>> my linkedin profile :http://www.linkedin.com/in/bayuadji
>> --------------------------------------------------------------
>>     
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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