file_utils.link_or_copy_tree doesn't maintain symlinks to directories

Bug #1658155 reported by Kyle Fazzari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Kyle Fazzari

Bug Description

Numerous plugins (and snapcraft internals) use file_utils.link_or_copy_tree to migrate files around. However, it doesn't copy symlinks pointing to directories as symlinks-- it creates new directories instead. It should handle symlinks to directories exactly the same way as symlinks to files.

Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Kyle Fazzari (kyrofa)
description: updated
Revision history for this message
Kyle Fazzari (kyrofa) wrote :
Changed in snapcraft:
status: In Progress → Fix Committed
milestone: none → 2.26
Changed in snapcraft:
status: Fix Committed → Fix Released
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.