Permissions problem with mdbox maildir
Emanuel Evans
emanuel.evans at gmail.com
Mon Feb 23 19:22:59 UTC 2015
Emanuel Evans <emanuel.evans at gmail.com> writes:
> 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!
Unfortunately, even with maildir_copy_with_hardlinks set to "no", the
problem still seems to persist. So my question becomes: is there a way
to prevent dovecot from using hardlinks in all circumstances? (If it
isn't possible, I can change my encfs setup.)
More information about the dovecot
mailing list