On Sun, 6 Aug 2000, Sarel J. Botha wrote:

> Hi guys
> 
> I've got a small problem here. I want oops to run as user proxy and write
> it's pidfile in /var/run/. /var/run/ has permissions of 755 (Debian Linux).
> When oops runs it writes in the logfile:
>   Fatal: Can't create pid file: Permission denied
> 
> I am looking at the source code right now. For some reason oops does a
> set_euser() right before writing it's pid file and goes back to root right
> after. This is around line 776 in oops.c (version 1.4.6).

Thanks for your notice, I'll think about this. I don't know if this is
common practice to open pid files from the root uid. This (opening and
using any file under non-root uid) was was done in order to be as secure
as possible.

Igor Khasilev                |
PACO Links, [EMAIL PROTECTED]    |

=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
Archive is accessible on http://www.paco.net/oops/

Дати відповідь електронним листом