[Dovecot] Fatal: chdir( ) failed: Permission denied

Helga Mayer helga.mayer at uni-hohenheim.de
Fri Feb 5 14:18:43 EET 2010


Quoting Timo Sirainen <tss at iki.fi>:

> On Fri, 2009-10-09 at 20:02 +0300, Vallo Kallaste wrote:
>> On Fri, Oct 09, 2009 at 12:14:25PM -0400, Timo Sirainen <tss at iki.fi>
>> wrote:
>>
>> > >Oct  9 16:43:49 jura dovecot: dovecot: Fatal: chdir(/a/home/mina)
>> > >failed: Permission denied (euid=1118
>> > >0(mina) egid=11332(devel) missing +x perm: /a/home)
>> >
>> > Oh, right, this happens before execing imap. Hmm. Well,
>> > mail_drop_priv_before_exec=yes probably helps you. I'll have to
>> > figure out if I should change something here..
>> >
>> Just FYI, the problem remains after turning the
>> mail_drop_priv_before_exec=yes flag on.
>
> Right, I looked at the code wrong. I think I won't change this in v1.x
> because it might break something, but you could move
>
> 	ret = chdir(full_home_dir);
>
> in src/master/mail-process.c just before:
>
> 	client_process_exec(set->mail_executable, title);
>
> and then it should work with mail_drop_priv_before_exec=yes. I'll get
> this fixed properly in v2.0.

This worked for 1.2.6 but it does not for 1.2.10

Helga Mayer

>





More information about the dovecot mailing list