Thank you for your reply. I have set up my MEDIA_ROOT as like : MEDIA_ROOT
= os.path.join(BASE_DIR,'/static/images')

What should I change, please?

On Sat, Mar 13, 2021 at 4:20 PM Kasper Laudrup <[email protected]>
wrote:

> On 13/03/2021 06.22, Azharul Islam Somon wrote:
> > I have successfully run on my local matching. I start installing with
> > "|pip install django-helpdesk| " and followed rest of the step and from
> > https://django-helpdesk.readthedocs.io/en/0.2.x/install.html
> > <https://django-helpdesk.readthedocs.io/en/0.2.x/install.html> but there
> > is one error for "
> >
> > step 5 : Inside your |MEDIA_ROOT| folder, inside the |helpdesk| folder,
> > is a folder called |attachments|. Ensure your web server software can
> > write to this folder - something like this should do the trick:
> >
> > chown www-data:www-data attachments/
> > chmod 700 attachments
> >
> > "
> > In my project there have no file name |attachments And i am getting
> > runtime permission error. I have added the error screenshot.
> > |
> > |
> > |
> > |Note: There is no file as name attachments for this reason i am not
> > able to give permission.
> > |
> >
>
> It looks like you have configured your MEDIA_ROOT to point to
> STATIC_ROOT or something like that. Either in your own Django
> application or in the configuration of django-helpdesk.
>
> STATIC_ROOT is not supposed to be writable, so that's why you get the
> error.
>
> Ensure that you have configured your MEDIA_ROOT correctly and that
> should most likely fix the issue.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/rO8c7AnsvWs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6ff400db-2c0a-e27a-0917-a167db417122%40stacktrace.dk
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMME6GPr_a0gatqqKqVru9jZuBR_oBEh-Z6b1oYuvEZuHJ7gig%40mail.gmail.com.

Reply via email to