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:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned 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 Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5