Execute parts as `run_user`
Metadata
Current evaluation
Feature request to execute parts as run_user to avoid manual chmod/chown steps. Open for contribution, awaiting maintainer triage.
Suggested action: needs triage
Reason: This is a valid feature request to execute parts as run_user, but no maintainer has responded yet. A contributor (@OchukoWH) expressed interest in working on it 46 days ago, but the issue lacks labels, assignee, or maintainer acknowledgment. Triage is needed to determine if this feature aligns with the project roadmap and to provide implementation guidance.
Impact:
70
Quick Win:
28.0
Staleness:
45
Complexity:
60
Confidence:
70
Support Request:
20
Issue body
### Check existing issues
- [x] I've verified that this request isn't described by any existing issues.
### Request
Following up on #1290, it would be handy if, as soon as `run_user: _daemon_` is declared, rockcraft would execute all parts as the non-root UID, GID by default, to avoid needing `chmod`s and `chown`s in `*-override` sections.
Ref:
- https://github.com/canonical/alertmanager-rock/pull/64
### The problem it solves
Currently, non-root setup is quite manual and pollutes pristine rockcraft.yaml with manual steps.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
70
Quick Win:
28.0
Staleness:
45
Complexity:
60
Confidence:
70
Support Request:
20
|
needs triage | Feature request to execute parts as run_user to avoid manual chmod/chown steps. Open for contribution, awaiting maintainer triage. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
20
Complexity:
60
Confidence:
85
Support Request:
0
|
keep open | Feature request to automatically execute parts as run_user to avoid manual chmod/chown steps. Open for contribution. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
5
Complexity:
45
Confidence:
90
Support Request:
10
|
needs triage | Feature request to automatically run all build parts as a non-root user when run_user is specified, avoiding manual permission overrides. Currently unlabelled and awaiting maintainer review. |
Update history
| Date | Change |
|---|---|
| updated |
Related work
-
Related To:
rockcraft#1290
(confidence 85%)
Related issue requesting dedicated variables for daemon UID/GID to avoid hardcoding 584792. Both issues concern non-root user handling in rocks.
Related issues
No related issues found above the similarity threshold.