Re: mutilog via fifo
[email protected] (Paul Jarc) Sun, 03 Aug 2008 15:04:01 -0400
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Organization | What did you have in mind? A short, blunt, human pyramid? |
| Message-ID | <[email protected]> |
richard lucassen <[email protected]> wrote: > open("/dev/stderr", O_RDWR|O_APPEND|O_CREAT, 0666) = -1 EACCES > (Permission denied) Ah. So it looks like you're stuck with patching, running as root, or using a named pipe. > So publicfile is started as root, and thus has access to /dev/stderr, > and after that changes uid/gid. Right or wrong? It has access because it doesn't call open() at all; it just writes to the already-open descriptor. paul