[Dovecot] deliver setgid issues

Timothy White dovecot.user at weirdo.bur.st
Fri Jun 9 15:39:29 EEST 2006


Ok, this has come to bite me on the rear end now....

On 3/16/06, Peter Fern <dovecot at obfusc8.org> wrote:
> A non-root process is not allowed to change it's privelages.
>
<snip>
> >
> >deliver: Fatal: setgroups(97) failed: Operation not permitted

Why does deliver try to change it's group, it it's setgid to the group
it's trying to change to?

I have
-rwsr-sr-x  1 dovecotmail dovecotmail 2816973 Jun  9 19:14
/usr/local/libexec/dovecot/deliver
dovecotmail being 112. The virtual user is 112, and my error is
Jun  9 20:33:46 mafeking deliver(joeblogs): setgroups(112) failed:
Operation not permitted

WHY does deliver try to change it's gid, when it does need to!?!?

Is this the issue? Or is there another solution?

Thanks

Tim
-- 
Linux Counter user #273956


More information about the dovecot mailing list