Hello guys,
I have been trying to figure this out for three days and it is driving the hell out of me.
When I set the www folder permissions to 777 recursive, all problems are gone and Presta is smooth.
But when I set the permissions to 755 recursive on all folders and files I get lots of problems such as fatal error smarty is not able to write to ../.. permission denied.
I know that the best configuration would be 755 for folders and 644 for files but that's an enormous task to set them individually. Is there a shell command to do it all automatically? In addition, please note that the only user I have on the machine is root. I've read that for Apache guys, they give the www-data user certain permissions to control the files the way it wants. Would there be an equivalent way to it in nginx?
Appreciated in advance,
Phil.