← Back to team overview

duplicity-team team mailing list archive

[Bug 393372] Re: Error creating directory

 

** Attachment added: "Change mkdir with recursive makedirs"
   http://launchpadlibrarian.net/28500208/recurse_mkdir.patch

-- 
Error creating directory
https://bugs.launchpad.net/bugs/393372
You received this bug notification because you are a member of
duplicity-team, which is subscribed to duplicity.

Status in duplicity - Bandwidth Efficient Encrypted Backup: New

Bug description:
Duplicity v0.6.00
Python 2.6.2+
Ubuntu 9.04
[This is an enhancement, not a bug, therefore I did not submit the whole "-v9" log.]

Hello,

I like to use duplicity to restore a subtree of the backup folder, while restoring the whole path which leads to it. More exactly, I want to run something like:

/home/cristi/.local/bin/duplicity -vINFO --use-agent --file-to-restore Wallet/papers sftp://backup-1/encbackup Wallet/papers

but this doesn't work because:

Making directory Wallet/papers
Error '('Error creating directory Wallet/papers', 7)' processing .
Skipping blah because of previous error

I propose to change mkdir with makedirs in path.py to address this problem. The attached patch does this.



References