On 29-08-2016 19:27, Heiko Schlittermann wrote:
> And you said, Exim runs without the suid privilege?
Yes and with a non-root user.
> According to a short glance into appendfile.c it seems, that Exim calls
> chown(2) on the newly created file.
This explains the question. Thanks for the information.
> Maybe the generic transport option group = nogroup (or whatever
> group name 65536 relates to) helps. It doesn't avoid the chown, but it
> should chown the group to the group the file already has. The group
> option is expandable, so you might some string expansion to get the
> group name right, in case it's dynamic.
Perfect if Exim ran with the suid privilege, but it's not the case.
> Should we consider to avoid chown() under certain conditions?
That would solve my problem!
--
Ednardo Lobo
www.lobo.eti.br