[PATCH] Cache: new options for set path and file permissions (ticket: #698)

Maxim Dounin mdounin at mdounin.ru
Wed May 13 21:11:27 UTC 2020


On Mon, May 04, 2020 at 02:14:26AM +0200, Krzysztof Grzadziel wrote:

> # HG changeset patch
> # User Krzysztof Grządziel <poczta at krzysztofgrzadziel.pl>
> # Date 1588474577 -7200
> #      Sun May 03 04:56:17 2020 +0200
> # Node ID ae1a050faa5c718dc81928dced93337f1e64a4e6
> # Parent  716eddd74bc2831537f5b3f7ecd16ad3e516d043
> Cache: new options for set path and file permissions (ticket: #698)
> Patch introduces two optional parameters for *_cache_path:
>   - path_access_rights which sets chmod for directories under cache path
>   - file_access_rights which sets chmod for files under cache path

Thank you for the patch.  This feature, however, seems to be very 
specific for your particular setup.  And this isn't what we can 
recommend as a generic approach to managing cache, as general 
assumption is that the cache directory is managed by a single 
nginx instance.  As such, this patch won't be merged.

Maxim Dounin

More information about the nginx-devel mailing list