atom feed5 messages in ru.sysoev.nginxRe: Log file permissions
FromSent OnAttachments
Henrik VendelboMay 30, 2008 3:28 am 
Jeffrey 'jf' LimMay 30, 2008 3:36 am 
Jeffrey 'jf' LimMay 30, 2008 3:37 am 
Henrik VendelboMay 31, 2008 2:54 pm 
Henrik VendelboMay 31, 2008 3:12 pm 
Subject:Re: Log file permissions
From:Jeffrey 'jf' Lim (jfs.@public.gmane.org)
Date:May 30, 2008 3:36:50 am
List:ru.sysoev.nginx

On Fri, May 30, 2008 at 6:29 PM, Henrik Vendelbo < hvendelbo.dev-gM/Ye1E23mwN+BqQ9@public.gmane.org> wrote:

I am quite stuck trying to set up access/error logging for nginx.

<snip>

$ ls -al /var/log/testin2.local/ total 0 drwxrwxr-x 3 root nobody 102 30 May 00:17 . drwxr-xr-x 85 root wheel 2890 30 May 00:00 .. -rwxrwx--- 1 root nobody 5496 30 May 00:21 www.access.log

I run nginx as nobody:nobody, and group nobody should have write access to the log file, even so it fails with this message:

does anybody have write permissions to the containing directly? or does nobody have it?

-jf'