[Dovecot] Dsync Permissions Issue

Asai asai at globalchangemusic.org
Fri Sep 16 18:17:12 EEST 2011


Thank you for your assistance, I have changed permissions on the remote 
server and all is well.


On 9/16/2011 6:09 AM, Timo Sirainen wrote:
> 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