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