19 Feb
2015
19 Feb
'15
6:29 p.m.
Steffen Kaiser skdovecot@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:
- hard links won't work on your encfs,
- 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!