← Back to issue list

Permission changes in files are not detected

View original Github issue

Metadata

Project
craft-parts
Number
#311
Type
issue
State
open
Author
facundobatista
Labels
Created
2022-10-24 15:42:38+00:00
Updated
2025-03-11 14:28:46+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

When permissions are changed on a file, that file is not detected as "updated", and not re processed by the pull part. Example using charmcraft: ``` $ charmcraft clean Cleaning project 'my-super-charm'. Cleaned project 'my-super-charm'. $ charmcraft pack Packing the charm Created 'my-super-charm_ubuntu-22.04-amd64.charm'. Charms packed: my-super-charm_ubuntu-22.04-amd64.charm $ zipinfo -l my-super-charm_ubuntu-22.04-amd64.charm to_be_included.bin -rw-rw-r-- 2.0 unx 163 b- 105 defN 21-Aug-03 12:20 to_be_included.bin $ chmod -w to_be_included.bin $ ll to_be_included.bin -r--r--r-- 1 facundo facundo 163 ago 3 2021 to_be_included.bin $ charmcraft pack Packing the charm Created 'my-super-charm_ubuntu-22.04-amd64.charm'. Charms packed: my-super-charm_ubuntu-22.04-amd64.charm $ zipinfo -l my-super-charm_ubuntu-22.04-amd64.charm to_be_included.bin -rw-rw-r-- 2.0 unx 163 b- 105 defN 21-Aug-03 12:20 to_be_included.bin ```

Evaluation history

No evaluation history available.