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

 
 

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

Submitter:  Pedro DeRose <dedrop>
Submitted:  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:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 20 May 2022 05:06:46 PM UTC, comment #1: 

This issue has been closed because it hasn&#039;t been touched for years, as the development continued on GitHub. If the issue is still present in a recent version, please re-open it under https://github.com/rdiff-backup/rdiff-backup/issues after having made that it&#039;s not already reported there.

Eric L. <ericzolf>
Group administrator
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:
   
   
Comment:
   

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 ericzolf (Posted a comment)
  • -email is unavailable- added by dedrop (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-05-20 ericzolf Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code