Verify fails when comparing symlink pointing to directory

Bug #1600692 reported by Wolfgang Rohdewald
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned
duplicity (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

duplicity 0.7.08 on Python 2.7.11, Ubuntu 16.04 outputs

Difference found: Symlink home/vorjahr/wwc points to /usr/wwc/, expected /usr/wwc

Quick and dirty fix:

~/tmp/duplicity-0.7.08/duplicity diff -u path.py.org path.py
--- path.py.org 2016-07-11 08:46:47.237287544 +0200
+++ path.py 2016-07-11 08:47:49.094014163 +0200
@@ -395,7 +395,7 @@
             else:
                 return 1
         elif self.issym():
- if self.symtext == other.symtext:
+ if self.symtext == other.symtext or self.symtext + "/" == other.symtext:
                 return 1
             else:
                 log_diff(_("Symlink %%s points to %s, expected %s") %

Changed in duplicity:
importance: Undecided → Medium
milestone: none → 0.7.09
status: New → Fix Committed
Changed in duplicity:
status: Fix Committed → Fix Released
Vej (vej)
Changed in duplicity (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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