Directories with square brackets are omitted

Bug #859884 reported by MB
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Déjà Dup
Fix Released
Critical
Unassigned
20
Fix Released
Critical
Unassigned
deja-dup (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

1. Ubuntu 10.10
2. deja-dup 18.1.1-0ubuntu1.1~maverick1
    duplicity 0.6.10-0ubuntu1
3. -- cannot provide this file, my gsettings does not know a list-recursively command--
4. see attachment

Details:
I am trying to backup some directories which contain square brackets in their absolute paths, e.g. "/home/User/[Games]/".
The directory of concern is several gbits in size. When i started the backup-procedure it only took a couple of seconds and deja-dup told me it's done(which made me suspicious). When i looked into the target directory(where the backup should be written to) i found a manifest and two files which were only a few kbits in size though. I was able to reproduce this behaviour every time.

I have come to the conclusion that this might be somehow connected with the square brackets in the paths since i was perfectly able to backup directories that did not contain any special characters in their paths.

Revision history for this message
MB (l-mao-d) wrote :
description: updated
Revision history for this message
Michael Terry (mterry) wrote :

I see the problem. Paths passed to duplicity, if they include literal *, ?, [ or ] characters, will be treated as a shell file pattern. Working on a fix.

Changed in deja-dup:
importance: Undecided → Critical
status: New → Triaged
Michael Terry (mterry)
Changed in deja-dup:
milestone: none → 21.1
status: Triaged → Fix Committed
Revision history for this message
Michael Terry (mterry) wrote :

MB, there is no workaround for this for older versions. You'll have to rename the folder if you want Deja Dup to be able to refer to it. Sorry. But it should be fixed in Ubuntu 11.10 (I just uploaded a fix).

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package deja-dup - 20.0-0ubuntu2

---------------
deja-dup (20.0-0ubuntu2) oneiric; urgency=low

  * debian/patches/escape_globs.patch:
    - Escape glob characters like [, *, and ? before passing them to
      duplicity. LP: #859884
 -- Michael Terry <email address hidden> Mon, 26 Sep 2011 16:57:10 -0400

Changed in deja-dup (Ubuntu):
status: New → Fix Released
Revision history for this message
MB (l-mao-d) wrote :

Cheers Terry for the quick acting! Will upgrade to Oneiric when it's released anyway(at least for deja-dup 20.+ hahaha). Best regards

Revision history for this message
MB (l-mao-d) wrote :

Sorry, i meant "Cheers Michael,..."

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello MB, or anyone else affected,

Accepted deja-dup into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Michael Terry (mterry)
Changed in deja-dup:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.