migration: support Permissions when migrating files
Metadata
Current evaluation
Merged after review and CI approval. Updates stage-to-prime file migration to respect and forward part permissions to link_or_copy(), resolving CRAFT-1442.
Suggested action: —
No scores available.
Issue body
The migration of part files from 'stage' to 'prime' now takes into account the part's 'permissions' definition. This means forwarding the permissions lists all the way down to 'link_or_copy()'.
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
(CRAFT-1442)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after review and CI approval. Updates stage-to-prime file migration to respect and forward part permissions to link_or_copy(), resolving CRAFT-1442. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged update to file migration logic that now respects and forwards part permissions to link_or_copy() when moving files from stage to prime, resolving CRAFT-1442. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #301 migration: support Permissions when migrating files | craft-parts | closed | Closed to implement permission forwarding during stage-to-prime file migration. Conflict handling between parts was deferred to a follow-up PR. |