canonical / canonical/multipass

Allow specifying wildcards (`*`) for `--[ug]id-map` on mounts

Open
#1,200 10 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted needs triage
Dominant language
C++
Stars
9.2k
Forks
829
Avg merge
3d 2h
Merged PRs (30d)
45

Description

What are the host-side ids to use when running `multipass mount`? I am accessing files through a user other than "multipass".

Without specifying -u and -g, I see from "multipass info", the following map: "UID map: -2:default". From the code, it looks like both the host and instance ids should be unsigned integers.

Contributor guide

Open the contributing guide

Research direction

Start with the `multipass mount` handling of `--uid-map` and `--gid-map`, then compare the result with the mapping shown by `multipass info`. Reproduce access through a user other than "multipass" and verify that wildcard values are accepted and produce the intended host-to-instance mapping.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.