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.ntaf...@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
signature.asc
Description: This is a digitally signed message part.