Re: [Exim] retry db owned by root

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Kirill Miazine
CC: exim-users
Sujet: Re: [Exim] retry db owned by root
On Tue, 26 Nov 2002, Kirill Miazine wrote:

> I noted that retry database is owned by root when it is first created by
> a process initially started as root.
>
> root@ns:/var/spool/exim/db# ls -al
> total 4
> drwxr-x---  2 exim  exim  512 Nov 26 12:05 .
> drwxr-x---  5 exim  exim  512 Nov 25 14:13 ..
> root@ns:/var/spool/exim/db# echo | mail root
> root@ns:/var/spool/exim/db# ls -al
> total 4
> drwxr-x---  2 exim  exim  512 Nov 26 12:07 .
> drwxr-x---  5 exim  exim  512 Nov 25 14:13 ..
> -rw-r-----  1 root  exim    0 Nov 26 12:07 retry
> -rw-r-----  1 root  exim    0 Nov 26 12:07 retry.lockfile


Hmm. There is code in there that specifically checks for this case, and
is supposed to chown to exim:exim if it creates a database as root. I
will test to be sure that it is actually working.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.