Give www-data rwx permission /va/www/dir and start the application using the user who is member of www-data
On Jan 11, 4:56 am, Tonton <to.ton...@gmail.com> wrote: > hello > may we use default storage to write outside of project or only in media > because i can writ in media path ... > > my porject : /home/user/project > > and i 'd like to write in > > /var/www/myoutputdirectory own by what ever you want but i've truy www-data > and the user in my WSGIDaemon in apache conf for mod wsgi ... > > so i 've SuspiciousOperation > > attempte access '/var/www/myoutpudirectory/myfilename ' denied -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.