On Tue, 14 Feb 2006 15:55:58 +0100, Marc Haber <[EMAIL PROTECTED]> said:
>
> Still no response from Upstream. Just a hunch: Does it help to set
> umask 022 in the init script?

I haven't actually tested it, but I shouldn't think so.  That's the mask
that's already set when the init script is run.  Plus, Exim sets it to 0
on purpose (exim.c line 1438):

    /* Set the umask to zero so that any files that Exim creates are created
    with the modes that it specifies. */

    umask(0);

then creates the files with fopen(), so they get 0666 & 0 == 0666
(demime.c line 259 plus other places):

    *f = fopen(CS file_name,"wb+");

-- 
Roderick Schertler
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to