ACL List uses wrong namespace for permissions

Harald Leithner leithner at itronic.at
Tue Apr 26 15:03:34 UTC 2016


Hi,

I'm using dovecot 2.2.devel (11c704a) with lazyexpunge and shared 
Mailboxes, this seams to work since the latest patch.

There is only one problem creating the correct dovecot-acl-list, if I 
login as the normal user that has set permissions for another user 
everything is ok.

If I login with the same user but with a modified roundcube that uses 
the #EXPUNGED Namespace as root, dovecot overrides the correct 
dovecot-acl-list with an empty version.

I think this is the most interesting part of the log:
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: fs: root=/srv/storage1/vmail/company/628, index=, indexpvt=, 
control=, inbox=, alt=
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl: initializing backend with data: vfile
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl: acl username = user at company.at
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl: owner = 1
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl vfile: Global ACLs disabled
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: Namespace : type=private, prefix=#EXPUNGED/, sep=, inbox=no, 
hidden=yes, list=no, subscriptions=no 
location=mdbox:/srv/storage1/vmail/company/628:MAILBOXDIR=expunged
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: fs: root=/srv/storage1/vmail/company/628, index=, indexpvt=, 
control=, inbox=, alt=
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl: initializing backend with data: vfile
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl: acl username = user at company.at
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl: owner = 1
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl vfile: Global ACLs disabled
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: Namespace : type=shared, prefix=#Users/%u/, sep=/, inbox=no, 
hidden=no, list=children, subscriptions=yes 
location=mdbox:/srv/storage1/vmail%h
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, 
inbox=, alt=
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl vfile: file 
/srv/storage1/vmail/company/628/mailboxes/dovecot-acl not found
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: Namespace : Using permissions from 
/srv/storage1/vmail/company/628: mode=0700 gid=default
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl vfile: file 
/srv/storage1/vmail/company/628/mailboxes/Drafts/dbox-Mails/dovecot-acl 
not found
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl vfile: file 
/srv/storage1/vmail/company/628/expunged/dovecot-acl not found
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: Namespace #EXPUNGED/: Using permissions from 
/srv/storage1/vmail/company/628: mode=0700 gid=default
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl vfile: file 
/srv/storage1/vmail/company/628/expunged/INBOX/dbox-Mails/dovecot-acl 
not found
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl vfile: file 
/srv/storage1/vmail/company/628/expunged/INBOX/test/dbox-Mails/dovecot-acl 
not found
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Debug: acl vfile: reading file 
/srv/storage1/vmail/company/628/mailboxes/INBOX/dbox-Mails/dovecot-acl
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Logged out in=178 out=870
2016-04-26T16:49:26+02:00 mailstore1 dovecot: imap(user at company.at): 
Logged out in=315 out=27172


regards,




-- 
Harald Leithner

ITronic
Wiedner Hauptstraße 120/5.1, 1050 Wien, Austria
Tel: +43-1-545 0 604
Mobil: +43-699-123 78 4 78
Mail: leithner at itronic.at | itronic.at


More information about the dovecot mailing list