Hidden files are not staged after "dump"

Bug #1669854 reported by Joseph Borg on 2017-03-03
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
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

Joseph Borg (joeborg) on 2017-03-03
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
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) on 2017-09-04
tags: added: cpec
Ante Karamatić (ivoks) on 2017-09-27
tags: added: cpe-onsite
removed: cpec
Christian Reis (kiko) on 2017-10-10
tags: removed: cpe-onsite
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers