After every reboot I see in maillog:
This helps:
because dovecot works under nobody.
Can somebody explain me - why does the owner change?
I have an idea to change owner with editing file /etc/mtree/BSD.var.dist, adding:
But after reboot - again:
What do I do wrong?
P.S. sorry for my English
Code:
May 10 10:17:57 akira dovecot: auth: Fatal: net_connect_unix(auth-worker) in directory
/var/run/dovecot failed: Permission denied (euid=65534(nobody) egid=65534(nobody) missing +r perm:
/var/run/dovecot/auth-worker, dir owned by 0:0 mode=0755)
This helps:
chown nobody:nobody /var/run/dovecot/auth-worker
because dovecot works under nobody.
Can somebody explain me - why does the owner change?
I have an idea to change owner with editing file /etc/mtree/BSD.var.dist, adding:
Code:
run
named uname=bind gname=bind
..
ppp gname=network mode=0770
..
wpa_supplicant
..
dovecot uname=nobody gname=nobody
..
But after reboot - again:
Code:
# ls -la /var/run/
total 66
drwxr-xr-x 9 root wheel 512 May 10 10:42 .
drwxr-xr-x 26 root wheel 512 May 10 13:41 ..
...
drwxr-xr-x 4 root wheel 512 May 10 10:42 dovecot
What do I do wrong?
P.S. sorry for my English
