• Uncategorized

About django : apache2-permissions-denied-django-project

Question Detail

I have a linux server (ubuntu) and I uploaded a project, in my project, I try to generate a pdf with reportlab, using some fonts for the created pdf.
I am having problems with permissions for reportlab. When I check out the error log in apache (/var/log/apache2/error.log), the error that appears is:

reportlab.pdfbase.ttfonts.TTFError: Can’t open file “recursos/fonts/Lato-Regular.ttf”

I already gave full permissions (chmod 777) and also changed the owner to apache (chown :www-data) to the whole project, but the same error appears.

In my local machine, works perfectly.

Question Answer

No answer for now.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.