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
>
> Exim version 4.10.11 #2 built 25-Nov-2002 22:58:38
> Copyright (c) University of Cambridge 2002
> Probably Berkeley DB version 1.8x (native mode)
>
> Operating system is OpenBSD 3.1.
I cannot reproduce this effect on Solaris 8. What does your "mail"
program do? Does it just call exim?
Please can you try the same experiment but using "exim root" instead of
"mail root". If you still have the same effect, please try it again with
the -d option and send me the output. It *should* have lines in it
saying something like
ensuring /.../spool/db/retry.lockfile is owned by exim
ensuring /.../spool/db/retry is owned by exim
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.