** Changed in: duplicity
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1104069
Title:
Empty file name removal
Status in Duplicity - Bandwidth Efficient Encrypted Backup:
Fix Released
Status in “duplicity” package in Ubuntu:
Confirmed
Bug description:
So, it's duplicity 0.6.18
in Python 2.7.3
under 3.2.0-29-generic x86_64
from Ubuntu 12.04 LTS server
on amd64-based hp n36l microserver
talking to olbiz.net
served by Pure-FTPd using TLS
backed by GlusterFS.
The duplicity is being ran via duply version 1.5.5.4
Using installed duplicity version 0.6.18, python 2.7.3, gpg 1.4.11, awk 'GNU
Awk 3.1.8', bash '4.2.24(1)-release (x86_64-pc-linux-gnu)'.
One may see this "error" (actually, annoying misfeature):
Running 'lftp -c 'source /tmp/duplicity-CmoCxx-tempdir/mkstemp-4Typ9m-1;cd
'backup3/blackbox/';rm '' failed with code 1 (attempt #2)
Error is:
Usage: rm [-r] [-f] files...
in my case it's in
/usr/share/pyshared/duplicity/backends/ftpsbackend.py @ delete()
method def
I'd propose to guard the last 3 lines (remote_dir = ...; command_line
= ...; self.popen_persist(commandline)) with something like
if filelist.rstrip() : # don't even try to remove empty names
I.e. just do nothing if no filenames were given to remove.
To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1104069/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp