chowning www-data will work. Make sure the directory has chown -R and chmod
-R,

suppose you are uploading to media/images

chown -R www-data media/images
chmod -R 777 media/images


On Sun, Aug 23, 2009 at 11:17 AM, Anogar <ryanrag...@gmail.com> wrote:

>
> I'm trying to implement a simple image upload inside my blog, and I
> had it working on my local machine, but when I deployed it threw this
> error:
>
> OSError at /path/
> (13, 'Permission denied')
> ....
>
> So, it's clearly a permissions issue - but I can't quite figure out
> how to fix it. Just to confirm my idea I chmod'd the permissions to
> 777 - and the whole thing suddenly works perfectly, but that's
> obviously not a permanent solution.
>
> I tried chown'ing the file over to www-data which is my Apache
> process, but that didn't work either. Who should own my uploads
> folder?
>
> Thanks!
>
> -Ryan
>
> >
>


-- 
Ramdas S
+91 9342 583 065

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