Fastcgi_cache permissions

maznislav nginx-forum at
Thu Mar 9 14:05:31 UTC 2017

Hello, I was searching for an answer for this question quite a bit, but
unfortunately I was not able to find such, so any help is much appreciated.
The issue is the following - I have enabled Fastcgi_cache for my server and
I have noticed that the cache has very restricted permissions 700 to be
precise. I need to be able to change those permissions, but unfortunately I
am not able to do so. I do not see any configuration variable that is
responsible for this, neither the nginx process uses the umask value set for
generating the permissions for those files. If someone has an idea how can I
make nginx to use custom permissions for the cache that would great.

Thanks a lot.


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

More information about the nginx mailing list