no uid/gid mappings when building on core22 with multipass
Metadata
Current evaluation
Multipass build with core22 mounts project directory without uid/gid mappings, causing ownership issues
Suggested action: close stale
Reason: The issue has been inactive for over 3 years (1403 days old, last activity 1312 days ago) with zero maintainer comments or engagement. Given the extended period without prioritization, the problem has likely been addressed in newer snapcraft versions or the core22 base may no longer be the default/recommended option.
Impact:
50
Quick Win:
30.0
Staleness:
95
Complexity:
40
Confidence:
60
Support Request:
30
Issue body
Snapcraft 7.2.3
When using Multipass as the build environment and core22 as the base, the project directory is mounted into /root/project without any uid/gid mappings, so it end up being owned by ubuntu:ubuntu, as opposed to root:root when using core20 as the base.
# build default core20 snap with multipass as build environment
snapcraft init
export SNAPCRAFT_BUILD_ENVIRONMENT=multipass
snapcraft
# project directory mounted with proper uid/gid mappings
multipass exec snapcraft-my-snap-name -- sudo ls -ld /root/project
drwxr-xr-x 1 root root 4096 Oct 31 16:05 /root/project
# build same snap with core22
sed -i s/core20/core22/ snap/snapcraft.yaml
snapcraft
# no more uid/gid mappings for mounted directory
multipass exec snapcraft-my-snap-name-on-amd64-for-amd64-133985 -- sudo ls -ld /root/project
drwxr-xr-x 2 ubuntu ubuntu 4096 Oct 31 15:59 /root/project
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
50
Quick Win:
30.0
Staleness:
95
Complexity:
40
Confidence:
60
Support Request:
30
|
close stale | Multipass build with core22 mounts project directory without uid/gid mappings, causing ownership issues | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
70
Confidence:
60
Support Request:
10
|
needs triage | Multipass build environment mounts project directory without uid/gid mappings when using core22 base, unlike core20. Report includes reproduction steps but has zero maintainer comments and over 3.5 years of inactivity. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
90
Complexity:
45
Confidence:
85
Support Request:
15
|
close stale | Bug report regarding missing uid/gid mappings for mounted project directories when using Multipass with core22 base in Snapcraft. Issue remains open with no maintainer response after over three years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
40
Confidence:
85
Support Request:
10
|
close stale | Snapcraft core22 builds with Multipass lack uid/gid mappings for mounted project directories, causing incorrect ownership compared to core20. Issue is over 3 years old with no maintainer response. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
40
Confidence:
75
Support Request:
10
|
needs triage | Snapcraft core22 builds with Multipass mount project directories without uid/gid mappings, resulting in ubuntu:ubuntu ownership instead of root:root. Unaddressed for over 3 years with zero comments. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.