snapcraft does not detect need to re-clean part after permission bits change on file
Bug #1889081 reported by
Ian Johnson
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Triaged
|
Medium
|
Claudio Matsuoka |
Bug Description
If I have a part like this:
```
local-scripts:
plugin: dump
source: .
```
and there is a file in there, say script.sh, and initially that file is not executable, snapcraft primes it. If I then change the permission bits (and the permission bits only, nothing else in the snapcraft part tree, snapcraft does not re-prime it, and I must `snapcraft clean local-scripts` first.
To post a comment you must log in.
We might need to look into the change time and not modification time