[Dovecot] 2.1.rc1 (8a63f621bd2e): SiS permission issue + crash

Timo Sirainen tss at iki.fi
Thu Feb 9 20:39:57 EET 2012

On Sat, 2011-12-10 at 04:35 +0100, Pascal Volk wrote:
> dsync -u test-0 at example.com mirror maildir:/tmp/Maildir
> rm -rf Maildir && cp -a Maildir_org Maildir && chown -R 70010:70002 Maildir
> dsync -vu test-1 at example.com mirror maildir:/tmp/Maildir
> dsync(test-1 at example.com): Error: stat(/srv/mail/.SiS/70002/a2/7b/.temp.blau.819.4f06409857c627e0) failed: Permission denied
> dsync(test-1 at example.com): Error: safe_mkstemp(/srv/mail/.SiS/70002/a2/7b/.temp.blau.819.) failed: Permission denied
> dsync(test-1 at example.com): Panic: file dsync-worker-local.c: line 1644 (local_worker_save_msg_continue): assertion failed: (ret == -1)

I couldn't reproduce this crash, but I guess this should fix it:

Also fixed a related problem where if dbox failed to save a message it
still added it to index:

More information about the dovecot mailing list