How to change file permission of error.log and access.log

Is there a way to change the file permission of access.log and
error.log?
Currently nginx is creating file in user readable and writable mode.
I want those files to be readable by group.
regards
Vivek G.

On 22 Sep2012, at 22:13 , Vivek G. [email protected] wrote:

Is there a way to change the file permission of access.log and error.log?
Currently nginx is creating file in user readable and writable mode.
I want those files to be readable by group.

Only with external tools. nginx has no such settings and you could not
use umask either, because nginx call umaks(0) on start.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs