Re: Premission Denied - Apache

2020-08-31 Thread Kasper Laudrup
Hi Giovanni, On 31/08/2020 19.12, Giovanni Silva wrote: Dear Kasper, this is part of my code... So you probably just need to ensure that the user running your Django code has write access to BASE_DIR / media. Now it's up to you to figure out who that user is, what that path is and ensure

Re: Premission Denied - Apache

2020-08-31 Thread Giovanni Silva
Dear Kasper, this is part of my code... [image: image.png] Best Regards Giovanni Em seg., 31 de ago. de 2020 às 13:33, Kasper Laudrup escreveu: > Hi Giovanni, > > On 31/08/2020 18.11, Giovanni Silva wrote: > > Hi Kasper, > > > > When I was running with the django local server, I have permiss

Re: Premission Denied - Apache

2020-08-31 Thread Kasper Laudrup
Hi Giovanni, On 31/08/2020 18.11, Giovanni Silva wrote: Hi Kasper, When I was running with the django local server, I have permission and works good. The error occurs when I publish the site with apache2 I gave 777 permission because I was trying to do it (give permission). I understand th

Re: Premission Denied - Apache

2020-08-31 Thread Giovanni Silva
Hi Kasper, When I was running with the django local server, I have permission and works good. The error occurs when I publish the site with apache2 I gave 777 permission because I was trying to do it (give permission). Em seg., 31 de ago. de 2020 às 12:11, Kasper Laudrup escreveu: > Hi Giovan

Re: Premission Denied - Apache

2020-08-31 Thread Kasper Laudrup
Hi Giovanni, On 31/08/2020 06.00, Giovanni Silva wrote: Can anyone help me please? All my project folder is 777 permissions with www-data user owner and group Please don't do that. That's a huge security risk and can cause all kinds of other problems. It is hard to know how to solve your