1 message in ru.sysoev.nginxLog file ownership and the USR1 signal
FromSent OnAttachments
Wilson BilkovichJun 21, 2007 11:37 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Log file ownership and the USR1 signalActions...
From:Wilson Bilkovich (wils@public.gmane.org)
Date:Jun 21, 2007 11:37:58 am
List:ru.sysoev.nginx

I've noticed an nginx behavior that seems odd to me. Is this a configuration problem on my end, or something that other people have experienced?

When nginx starts the first time, the access and error logs are created with root.root ownership. When I hit nginx with the USR1 signal (which I do for log rotation purposes), the file ownership is changed to 'foo.root', where 'foo' is the user that nginx runs as.

I'm fine with that.. but it seems odd that the initial log file would not be created with the same ownership.