[Dovecot] Maildir parent directory permissions incorrect for new mailbox

Timo Sirainen tss at iki.fi
Tue Jun 28 04:17:17 EEST 2011


On Tue, 2011-06-28 at 04:07 +0300, Timo Sirainen wrote:
> On Fri, 2011-06-17 at 17:35 +0100, Dominic Marks wrote:
> 
> > My issue is with the automatic creation of parent directories above new 
> > maildirs. It seems to be that they're being set with incorrect (or 
> > unhelpful) permissions, applying the permissions of the mailbox down the 
> > path towards the mailbox root, as opposed to taking the permissions of 
> > the mailbox root up towards the mailbox.
> > 
> > Our mail is stored under the scheme:
> > 
> >    location = maildir:/var/dovecot/mail/%d/%n:INDEX=/var/dovecot/index/%d/%n
> 
> See if chmod g+s /var/dovecot/mail solves your troubles. The same for
> index dir.

I added explanation to
http://wiki2.dovecot.org/SharedMailboxes/Permissions#Permissions_to_new_user_directories 



More information about the dovecot mailing list