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 as www-data) to delete Nginx cache files).



-----Original Message-----
From: nginx [mailto:[email protected]] On Behalf Of maznislav
Sent: Thursday, March 9, 2017 5:06 PM
To: [email protected]
Subject: Fastcgi_cache permissions

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.

Regards.

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,272853,272853#msg-272853

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to