Fastcgi_cache permissions

maznislav nginx-forum at
Thu Mar 9 15:57:10 UTC 2017

Hi Maxim, 

thanks for the reply. The use case that I have is when php-fpm is running as
a user different than the nginx one. In this case the permissions being set
as 0700 basically deny any manipulation of the cached files from php
scripts. Everytime you try something like this you get permission denied.

A similar scenario and possible solution which unfortunately doesn't work is
described in this thread.

Posted at Nginx Forum:,272853,272856#msg-272856

More information about the nginx mailing list