bugrdiff-backup - Bugs: bug #24815, Escaping double colons in local...


bug #24815: Escaping double colons in local files doesn't seem to work

Submitted by:  Pedro DeRose <dedrop>
Submitted on:  Tue 11 Nov 2008 05:35:16 PM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 11 Nov 2008 05:35:16 PM UTC, original submission:

Backing up directories whose paths contain double colons doesn't seem to work, even when escaping the colons as described in the man page. Here's a simple test case on Linux, in the bash shell:

# mkdir "foo::bar"
# mkdir "foo::bar/dir"
# echo "hi" > "foo::bar/dir/foo.txt"

# rdiff-backup "foo\::bar/dir" "foo\::bar/backup"
Fatal Error: Unable to create directory foo\::bar/backup

# rdiff-backup "foo\::bar/dir" "foo\::backup"
Fatal Error: Source directory foo\::bar/dir does not exist

# ls
foo\::backup foo::bar

Looks like rdiff-backup is not treating \: as an escaped colon, but rather as a literal slash-then-colon. Of course, using a double colon without escaping doesn't work either, as rdiff-backup tries to treat the text before the colons as a host.

Pedro DeRose <dedrop>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by dedrop (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1