[Dovecot] Dsync Permissions Issue
Timo Sirainen
tss at iki.fi
Fri Sep 16 16:09:23 EEST 2011
On Wed, 2011-09-14 at 09:04 -0700, Asai wrote:
> [root at triata ~]# dsync -v -u asai at globalchangemusic.org backup ssh
> -p22222 vmail at xx.xxx.xx.xxx dsync -u asai at globalchangemusic.org
> vmail at xx.xxx.xx.xxx's password:
> dsync(vmail): Error: userdb lookup:
> connect(/var/run/dovecot/auth-userdb) failed: Permission denied
> (euid=1001(vmail) egid=1001(vmail) missing +r perm:
> /var/run/dovecot/auth-userdb, euid is not dir owner)
..
> service auth {
> unix_listener auth-userdb {
> group = vmail
> mode = 0666
> user = vmail
> }
> user = root
> }
So clearly you've given more than necessary permissions in here. 0600
with user=vmail should be enough. But the permission problem isn't on
the server where you ran this "doveconf -n". The problem is on your
remote server's Dovecot config.
BTW:
> unix_listener auth-master {
> group = vmail
> mode = 0660
> user = vmail
> }
There's no reason to change this from defaults.
More information about the dovecot
mailing list