← Back to issue list

fix(StateService): add g+rwx to the state dir

View original Github issue

Metadata

Project
craft-application
Number
#838
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged #838 via commit 6b237f12, adding group read/write/execute permissions to the state directory for separate LXD UID/GID mappings.

Resolution: closed resolved

Reason: The approved PR was merged as commit 6b237f12, setting group rwx on the StateService directory to prevent access failures with craft-providers#780.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged #838 via commit 6b237f12, adding group read/write/execute permissions to the state directory for separate LXD UID/GID mappings.
stealth/space-bunny-alpha — closed resolved Merged fix adds group read/write/execute permissions to the state directory, preventing LXD access failures after craft-providers#780 began mapping UID and GID separately.
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.

Update history

No update history recorded yet.

Related work

Related issues

No related issues found above the similarity threshold.