snapcraft does not detect need to re-clean part after permission bits change on file

Bug #1889081 reported by Ian Johnson
14
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.

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

We might need to look into the change time and not modification time

Changed in snapcraft:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Claudio Matsuoka (cmatsuoka)
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.