Am 27.07.2015 um 10:51 schrieb Ralf Hildebrandt:
> Anybody seen this before?
> Seems easy to reproduce...
> 
> * Ralf Hildebrandt <[email protected]>:
>> I'm using the doveadm import command to extract mails from my backup:
>>
>> % doveadm import -u [email protected] mdbox:/home/copymail/mdbox "" \
>>    mailbox INBOX header Delivered-To [email protected]
>>
>> This works like a charm, I'm getting all the mails, and I can access
>> the newly generated mailbox.
>>
>> But when executing the command I'm getting an annoying warning:
>>
>> doveadm([email protected]): Error: chdir(/root/) failed: Permission 
>> denied (euid=1001(copymail) egid=1001(copymail) missing +x perm: /root, dir 
>> owned by 0:0 mode=0700)
>> doveadm([email protected]): Error: chdir(/root) failed: Permission 
>> denied
> 
Just guessing…

The signature of the command is:
doveadm [-Dv] import [-S socket_path] [-s] -u user source_location
dest_parent search_query

You supply "" as dest_parent which I guess could mean ".", and that may
be "/root" when run as root. Try "INBOX" or "restore_folder" and see if
the error vanishes.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to