Log file permissions

Jeffrey 'jf' Lim jfs.world at gmail.com
Fri May 30 14:37:51 MSD 2008


On Fri, May 30, 2008 at 6:37 PM, Jeffrey 'jf' Lim <jfs.world at gmail.com>
wrote:

> On Fri, May 30, 2008 at 6:29 PM, Henrik Vendelbo <
> hvendelbo.dev at googlemail.com> 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?
>

containing directory, sorry.

-jf

--
In the meantime, here is your PSA:
"It's so hard to write a graphics driver that open-sourcing it would not
help."
-- Andrew Fear, Software Product Manager, NVIDIA Corporation
http://kerneltrap.org/node/7228
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080530/de046c3f/attachment.html>


More information about the nginx mailing list