doveadm import - strange warning
Ralf Hildebrandt
r at sys4.de
Mon Jul 27 09:41:14 UTC 2015
* Daniel Tröder <troeder at univention.de>:
> 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.
With "INBOX", nothing changes on the output (although the script
doesn't restore properly anymore)
With ".", I get:
doveadm(restore at backup.invalid): Error: chdir(/root/) failed: Permission denied (euid=1001(theid) egid=1001(theid) missing +x perm: /root, dir owned by 0:0 mode=0700)
doveadm(restore at backup.invalid): Error: chdir(/root) failed: Permission denied
doveadm(restore at backup.invalid): Error: Couldn't create mailbox ./INBOX: Invalid mailbox name: Contains '.' part
I still think this is an obscure bug :)
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
More information about the dovecot
mailing list