Permissions problem with mdbox maildir

Emanuel Evans emanuel.evans at gmail.com
Thu Feb 19 16:29:45 UTC 2015


Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> writes:

> Could you try what happens, if you create the hardlink manually as the 
> vmail user _two_ times, if the first link() succeeds. Maybe:
>
> 1) hard links won't work on your encfs,
> 2) link() fails with "Operation not permitted" instead of "File exists" in 
> your case, if the target file already exists.
>
> Something like: sudo -u vmail ln  \
> /var/decrypted/vmail/aleme.nu/root/mailboxes/INBOX/dbox-Mails/dovecot.index \
> /var/decrypted/vmail/aleme.nu/root/mailboxes/INBOX/dbox-Mails/dovecot.index.backup.tmp

It turns out (1) was the problem—encfs doesn't allow hard links in my
configuration. I've set maildir_copy_with_hardlinks to no; hopefully
that will resolve the issue. Thanks so much for your help!



More information about the dovecot mailing list