[Dovecot] Permission error

Reindl Harald h.reindl at thelounge.net
Mon Sep 23 11:22:15 EEST 2013



Am 23.09.2013 09:33, schrieb Koenraad Lelong:
> Op 16-09-13 11:48, Koenraad Lelong schreef:
>> I just tried with chown nobody:nogroup auth-worker
>> Now the error is gone.
>> The question remains : what does create auth-worker ? The installer ?
>> then I think ubuntu does it wrong.
> 
> I'm sorry for the late reply but I'm not working full time on this migration.
> 
> Unfortunately, I now experienced and remembered the fact that the /run or /var/run directories are temporary
> directories, i.e. they are recreated on boot. Which means that the ownership is recreated on boot and in this case
> set to dovecot:root. Which means dovecot can't access the "file"

sounds like a systemd distribution
man tmpfiles.d

[root at srv-rhsoft:~]$ cat /etc/tmpfiles.d/dovecot.conf
d /run/dovecot 0775 dovecot dovecot -

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130923/3e8d7a2c/attachment.bin>


More information about the dovecot mailing list