Migrated files don't follow symlinks if they're hard linked

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

Bug Description

Much of Snapcraft's responsibilities involve chauffeuring files around. It does this as efficiently as possible by using hard links. However, Python's os.link() doesn't actually follow symlinks even if follow_symlinks=True, which means it's possible to get broken symlinks into snaps as a result. Snapcraft should work around this.

Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Kyle Fazzari (kyrofa)
milestone: none → 2.8.4
Revision history for this message
Kyle Fazzari (kyrofa) wrote :
Changed in snapcraft:
status: In Progress → 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.