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
And what is the purpose of changing permissions? In other words - nginx.conf - user www-data; So for example, Directories Access: (0700/drwx) with Uid: (33/www-data) And no one forbids you to access the cache from this user for manipulating files (allow other process (for example php-fpm runs