Hidden files are not staged after "dump"

Bug #1669854 reported by Joseph Borg
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
Medium
Joe Talbott

Bug Description

In this case, I am downloading and unpacking a tar.gz with the "dump" plugin. If I check the result of this in the ./parts/mypart/install directory, I can see all the files from the tar; including hidden files and directories. However, once the part is staged, these hidden files and directories seem to be filtered out. I can hack them into the stage directory using "organize" to remove the prefixed "." but this can obviously cause issues with libraries looking for the original name. This is also lost from stage -> prime, if I manually copy the hidden files / directories into stage and then run `snapcraft prime`. However, it does work if I copy them into prime and run `snapcraft snap`.

Not sure if this is intentional or if it's a bug?

Thanks,
Joe

Tags: sources isv
Joseph Borg (joeborg)
description: updated
Changed in snapcraft:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Joe Talbott (joetalbott)
milestone: none → 2.28
Changed in snapcraft:
milestone: 2.28 → none
Revision history for this message
Leo Arias (elopio) wrote :

This is affecting rocket chat, which has to add .node_version.txt to the stage keyword in order to get the dot file in the resulting snap.

tags: added: isv sources
Ante Karamatić (ivoks)
tags: added: cpec
Ante Karamatić (ivoks)
tags: added: cpe-onsite
removed: cpec
Christian Reis (kiko)
tags: removed: cpe-onsite
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.