Welcome! Log In Create A New Profile

Advanced

RE: Fastcgi_cache permissions

Maxim Ozerov
March 09, 2017 10:00AM
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:nginx-bounces@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 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
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Fastcgi_cache permissions

maznislav March 09, 2017 09:05AM

RE: Fastcgi_cache permissions

Maxim Ozerov March 09, 2017 10:00AM

Re: RE: Fastcgi_cache permissions

maznislav March 09, 2017 10:57AM

RE: RE: Fastcgi_cache permissions

Reinis Rozitis March 09, 2017 12:26PM

RE: RE: Fastcgi_cache permissions

Maxim Ozerov March 09, 2017 12:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 88
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready