If you use distribution with apparmor try to stop it (/etc/init.d/apparmor).

If the problem disappears, find apparmor config for apache and add there

/home/Djangoprojects/ rw,
/home/Djangoprojects/** rw,
/home/Djangoprojects/imageupload/** rw,

2009/10/11 Chirolo <wist...@gmail.com>

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