[Dovecot] Fatal: chdir( ) failed: Permission denied
tss at iki.fi
Fri Oct 16 03:09:18 EEST 2009
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>
> > >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:
and then it should work with mail_drop_priv_before_exec=yes. I'll get
this fixed properly in v2.0.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091015/67e75054/attachment.bin
More information about the dovecot