fix(StateService): add g+rwx to the state dir
Metadata
Current evaluation
Merged after approval and CI checks. Adds group read/write permissions to the state directory for LXD root environments. Retargeted to a hotfix branch to coordinate with craft-providers release.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
Gives the group read/write permission to state dir, when running with LXD as root.
This is needed due to https://github.com/canonical/craft-providers/pull/780, which sets uid and gid mapping separately.
Tested in https://github.com/canonical/craft-application/pull/835
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval and CI checks. Adds group read/write permissions to the state directory for LXD root environments. Retargeted to a hotfix branch to coordinate with craft-providers release. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after retargeting to a hotfix branch. Adds group read/write/execute permissions to the state directory, resolving LXD root execution failures caused by separate uid/gid mapping in craft-providers. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.