[Dovecot] Index corruption
Curtis Maloney
cmaloney at cardgate.net
Mon Oct 18 11:18:38 EEST 2004
Timo Sirainen wrote:
> On 18.10.2004, at 08:32, Gregory Bond wrote:
>
>> I've had a bit more of a play and I understand it a bit better. Looks
>> like restrict_access_by_env() is being called in 2 different contexts
>> - once to establish the "dovecot" user , once as root (presumably in
>> the auth daemon). The call as root fails because the program tries
>> setgid() to prove it can't, but as root this works.
>
>
> Ah, I see. I didn't realize that root's gid might not be 0.
Hadn't thought about that at all... just checked, and sure enough: Default GID
for root on Solaris is 1.
Guess it'll soon be time for me to rebuild testXX on my home IMAP server, then.
--
Curtis.
More information about the dovecot
mailing list