[Dovecot] Crash: imap process, Dovecot 1.2.4, related to ACLs (backtrace included)

Andreas Ntaflos daff at dword.org
Mon Sep 14 04:26:45 EEST 2009


On Monday 14 September 2009 03:11:55 Timo Sirainen wrote:
> On Fri, 2009-08-28 at 02:46 +0200, Andreas Ntaflos wrote:
> > Aug 28 01:08:01 mailtest0 dovecot:
> > IMAP(andreas.ntaflos at example1.rise-s.com): Panic: file
> > acl-backend-vfile.c: line 1124 (acl_backend_vfile_object_update):
> > assertion failed: (!update->rights.global)
> 
> Finally had time to look at this. I think the fix should be that
>  global ACLs simply shouldn't be copied to child mailboxes. Is this
>  also what you want? i.e. user can't delete mails from "Sent", but
>  can delete from "Sent/child".
> 
> http://hg.dovecot.org/dovecot-1.2/rev/6df681067e0a 

Thanks for not forgetting this :) I'll try out the patch first thing 
tomorrow.

What I initially wanted to achieve was to have some folders (such as 
Sent, Drafts, Trash and INBOX/Spam) that the user wouldn't be able to 
delete, but creating subfolders would be allowed. The ACL setting of 
"owner lrwstipek" should do that, if I'm not mistaken.

I had more plans of setting ACLs on other folders such as Public/Spam 
and Public/Ham (no deletion, no subfolders), however, I am not sure 
anymore if ACLs are really the way to go. I've had a hard time getting 
them right, as I described in [1] and [2]. But that's unrelated to this 
crash issue.

I'll report back ASAP after applying the patch.

Thanks again, 

Andreas

[1] http://dovecot.org/pipermail/dovecot/2009-September/042551.html
[2] http://dovecot.org/pipermail/dovecot/2009-September/042558.html
-- 
Andreas Ntaflos 
Vienna, Austria 

GPG Fingerprint: 6234 2E8E 5C81 C6CB E5EC  7E65 397C E2A8 090C A9B4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://dovecot.org/pipermail/dovecot/attachments/20090914/b86a19c9/attachment.bin 


More information about the dovecot mailing list