Re: mutilog via fifo

[email protected] (Paul Jarc) Sun, 03 Aug 2008 13:24:03 -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:
> I think the user qftp has no write access to stderr.

Access checks only happen for open(), not read() or write().  So it's
not a permissions problem.  Try a system call trace to see what elhttp
is doing.

> When publicfile is invoked by tcpserver, it runs as user qftp. When
> elhttp is invoked by tcpserver this way, it runs as root.
>
> Why is that?

pf-httpd switches itself to the user and group specified in $UID and
$GID (after chrooting, which can only be done as root).


paul