Answer the question
In order to leave comments, you need to log in
How to solve Permission Denied?
Hello.
When sending a post request for files from the site by an authorized and not authorized user, I get an access error
Exception Value: [Errno 13] Permission denied: '/home/blazer/myshop3/media/review/19/04/23/djangodesktop-1280x1024.jpg'
Yes blazer group, how to make authorized and non-authorized users upload files to /media/review/ directory?
Answer the question
In order to leave comments, you need to log in
read this article . everything is described in detail here
you need rights to the folder not lower than 644
Give write access to the media directory and its subdirectories to the user under which Django is running.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question