import-tar incorrectly handles symlinks turned into directories

Bug #800270 reported by Aaron Bentley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
Triaged
Medium
Unassigned
BzrTools
Triaged
Medium
Unassigned
bzr-builddeb
Triaged
High
Unassigned

Bug Description

The upstream import code uses trans_id_tree_path to get its trans_ids, but this fails because in the tree, the path may traverse a symlink, and in the new transform, the path may not. If the path does not traverse a symlink in the transform, the wrong trans_id will be used.

Tags: import
Aaron Bentley (abentley)
Changed in bzrtools:
status: New → Triaged
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Vincent Ladeuil (vila) wrote :

This is the cause for http://package-import.ubuntu.com/status/rserve.html#2011-12-01%2011:18:38.327140

When trying to import rserve_0.5-3.orig.tar.gz, 'clients' became a directory duplicating the exact content of its previous symlink target ('src/client').

Vincent Ladeuil (vila)
Changed in bzr-builddeb:
importance: Medium → High
Jelmer Vernooij (jelmer)
Changed in brz:
status: New → Triaged
importance: Undecided → Medium
tags: added: import
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.