| 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 | |
Refine Search
| From | Sent On | Attachments |
|---|---|---|
| Henrik Vendelbo | May 30, 2008 3:28 am | |
| Jeffrey 'jf' Lim | May 30, 2008 3:36 am | |
| Jeffrey 'jf' Lim | May 30, 2008 3:37 am | |
| Henrik Vendelbo | May 31, 2008 2:54 pm | |
| Henrik Vendelbo | May 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'
-- 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

