Version: 1.11.1 (using 4.2.00 (KDE 4.2.0), compiled sources) Compiler: gcc OS: Linux (i686) release 2.6.26-1-686 I have some read-only folders (lrsa) on my imap server (cyrus) and every time I use disconnected imap to sync I get one warning per folder; ===== Error while setting annotation: Setting the annotation /vendor/kolab/folder-type on folder imaps://zander@namlook:993/shared/ failed. The server returned: Permission denied ======== I don't think kmail should try to annotate a read only folder.
You're right - it shouldn't. However, the folder isn't entirely read-only - you seem to have 'admin' rights. Regrettably, 'admin' rights do not imply 'the other rights' which would still need to be set explicitely (by an admin). Christian, I feel I have confirmed before this is no longer an issue in current KDE, but I would appreciate your confirmation.
Note sure why you got in that situation in the first place (I couldn't find the relevant codepath), but I don't think it can happen with the current kolab resource. Once an annotation has been erroneously set on a akonadi-collection without modify rights though, the imap resource indeed tries on every sync to write it to the server. I'm not quite sure yet though how to resolve that in the imap resource(if at all) . As a workaround you can delete the annotation using akonadiconsole: Browser Tab -> Rightclick -> Folderproperties -> Attributes tab -> edit the folderannotations. The admin rights do not play into the behaviour, it's just that ACL rights in akonadi are not enforced and clients need to check themselves (which the kolab resource obviously didn't).
Lets close this one now :)