RE: RE: Fastcgi_cache permissions

2017-03-09 Thread Maxim Ozerov
quests So, create a new pool file with the right user:group ... and send the specific purge request. -Original Message- From: nginx [mailto:nginx-boun...@nginx.org] On Behalf Of Reinis Rozitis Sent: Thursday, March 9, 2017 8:24 PM To: nginx@nginx.org Subject: RE: RE: Fastcgi_cache permi

RE: RE: Fastcgi_cache permissions

2017-03-09 Thread Reinis Rozitis
> 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 permissi

Re: RE: Fastcgi_cache permissions

2017-03-09 Thread maznislav
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

RE: Fastcgi_cache permissions

2017-03-09 Thread Maxim Ozerov
runs as www-data) to delete Nginx cache files). -Original Message- From: nginx [mailto:nginx-boun...@nginx.org] On Behalf Of maznislav Sent: Thursday, March 9, 2017 5:06 PM To: nginx@nginx.org Subject: Fastcgi_cache permissions Hello, I was searching for an answer for this question quite a

Fastcgi_cache permissions

2017-03-09 Thread maznislav
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 pre