John F Hall <[EMAIL PROTECTED]> writes:
> > At the same time I have fixed a number of other related bugs. For
> > example if the log file could not be opened then it should have
> > stopped trying to write to it. This would have stopped the problem
> > that you were seeing, but that also wasn't working.
>
> The problem wasn't with opening the log file, wwwoffle is running as
> root then and that succeeded.
Unfortunately WWWOFFLE closes the log file and re-opens it after
dropping root privileges (it would also close and re-open if on a HUP
signal so that the log file can be rotated).
> The problem was with writing. A failure then needn't be fatal, but
> seems to be.
If the file is opened when WWWOFFLE is running as root then provided
the file is not closed WWWOFFLE will always be able to write to it.
It doesn't matter which user the program is now running as.
--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop [EMAIL PROTECTED]
http://www.gedanken.demon.co.uk/
WWWOFFLE users page:
http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html