atom feed2 messages in ru.sysoev.nginxRe: How make nginx write cache files ...
FromSent OnAttachments
Micheal WolfskillApr 15, 2012 1:17 pm 
António P. P. AlmeidaApr 15, 2012 3:12 pm 
Subject:Re: How make nginx write cache files in 770 permissions instead of 700?
From:António P. P. Almeida (ap@perusio.net)
Date:Apr 15, 2012 3:12:31 pm
List:ru.sysoev.nginx

On 15 Abr 2012 22h18 CEST, tdgh@hotmail.com wrote:

Hello all,

I included a special user into the nginx group with the purpose of giving privilege to be able to delete or read nginx cache files. The problem is nginx writes these in 700 mode. What is the simplest way I can achieve what I want? Perhaps forcing nginx to write cache files in 770 ?

Isn't it simpler and potentially safer to use a setuid wrapper?

I like super: http://www.ucolick.org/~will/RUE/super/super.1.html

You can create a wrapper command that grants the right to delete the cache files to a specific user.

--- appa