<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>This sounds more like misconfiguration to me. Can you provide doveconf -n and full output of namei -vl /full/path/to/mailbox</div><div><br></div><div id="composer_signature"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">---<div>Aki Tuomi</div><div>Dovecot oy</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Original message --------</div><div>From: Yves Goergen <nospam.list@unclassified.de> </div><div>Date: 19/05/2018 18:51 (GMT+02:00) </div><div>To: Dovecot Mailing List <dovecot@dovecot.org> </div><div>Subject: Re: Cannot delete folder </div><div><br></div></div>The issue still exists. Can anybody explain to me why dovecot creates <br>IMAP folders with the wrong filesystem permissions? Every new folder <br>that I create in the mailbox through Thunderbird (IMAP) has the wrong <br>permission and cannot be deleted anymore.<br><br>This looks like a dovecot bug to me.<br><br>-Yves<br><br><br>________________________________________<br>Von: Yves Goergen<br>Gesendet: Di, 2018-03-06 20:55 +0100<br><br>Hi there,<br><br>I cannot delete IMAP folders in new mailboxes. When trying to delete a<br>folder in Thunderbird I get the error message "renaming not supported<br>across conflicting directory permissions". Looking up the error on the<br>web led me to checking the mailbox directory's permissions. They're<br>inconsistent in new mailboxes. While every single directory in an old<br>mailbox has "drwx--S---", some of the directories in a new mailbox have<br>"drwxr-sr-x" instead. I'm not sure what that means. The folders with the<br>later permissions are "Drafts", "Sent" and "Trash". Folders with the<br>first permissions are "Junk", "Archives" and "Archives.2018". All<br>folders were created by Thunderbird automatically. Now I wanted to<br>delete "Archives.2018".<br><br>What's the issue here? Why do folders created by the same MUA in the<br>same event on the same mail server have different permissions and why<br>can't I delete one of them (which would probably move it into the trash<br>folder first)?<br><br>Dovecot version is 2.2.22 on Ubuntu 16.04, Thunderbird is 52.6.0 on<br>Windows 10.<br><br>-Yves<br><br></body></html>