canonical/multipass

[snap] improve error messages when confinement may be the culprit

Open

#1,795 opened on Oct 12, 2020

 (1 comment) (0 reactions) (0 assignees)C++ (634 forks)batch import
good first issuelinuxmediumsnap

Repository metrics

Stars
 (6,956 stars)
PR merge metrics
 (Avg merge 16d 2h) (50 merged PRs in 30d)

Description

There are cases when commands acting on files from outside Multipass (launch file://..., transfer) may fail due to confinement.

We should try and be helpful to the user, suggesting what can be done to help (moving the file out of /tmp, connecting the home-all and removable-media plugs).

Contributor guide