← Back to issue list

Cannot upload files to `/root/` for Multipass

View original Github issue

Metadata

Project
craft-providers
Number
#169
Type
issue
State
closed
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Multipass uploads now support any destination, including /root, through PR #269 (commit 49c1a63), resolving the limitation affecting Snapcraft.

Resolution: closed resolved

Reason: Merged PR #269, commit 49c1a63, updated MultipassInstance to push files to arbitrary locations, directly covering the requested /root upload support.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Multipass instances cannot push files to `/root/`. This is causing in issue in snapcraft, where we are attempting to push `/root/.bashrc` to the instance. This is an [acknowledged behavior](https://github.com/canonical/multipass/issues/1433) in Multipass. Possible solutions could be: 1. Push file to `/home/ubuntu/`, then execute `multipass exec -- sudo mv /home/ubuntu/... /root/...` 2. Updated ssh permission (see link above for details from Multipass team) (CRAFT-1455)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Multipass uploads now support any destination, including /root, through PR #269 (commit 49c1a63), resolving the limitation affecting Snapcraft.
qwen/qwen3.6-35b-a3b — closed stale Multipass instances cannot push files to `/root/`, affecting snapcraft. Closed without resolution after prolonged inactivity.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/craft-providers#269 (confidence 99%)

    Commit 49c1a63 is titled "MultipassInstance: push files to any location" and addresses the reported limitation.

Related issues

No related issues found above the similarity threshold.