Question
Write image permission denied
I have added user to root, chown, change permission to 755 , yet write image permission denied. I tried PHP Imagick function, it didn’t work.
I followed this solution.
How do I enable images to have write permission? Help please!.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
where are the images you are trying to write to?
if they are in your web-directory, and you want your user to be able to access them outside of a web-service, then you need to add your user to www-data
then you need to chmod to 775
Images are located in /var/www/html/app