Welcome! Log In Create A New Profile

Advanced

Re: How make nginx write cache files in 770 permissions instead of 700?

António P. P. Almeida
April 15, 2012 06:14PM
On 15 Abr 2012 22h18 CEST, tdgh2323@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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How make nginx write cache files in 770 permissions instead of 700?

Micheal Wolfskill April 15, 2012 04:20PM

Re: How make nginx write cache files in 770 permissions instead of 700?

António P. P. Almeida April 15, 2012 06:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 165
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready