From e1dce75f56a7ffa0bcddc05656ebfc17138e2f8c Mon Sep 17 00:00:00 2001 From: Julien Mailleret <8582351+jmlrt@users.noreply.github.com> Date: Fri, 25 Oct 2024 10:39:09 +0200 Subject: [PATCH] Allow cli snap to access home and removable-media (#5577) This commit is adding back the home interface to the cli snap package. This is needed to allow saving Bitwarden attachments and exports to the disk. Also, add removable-media permission to allow saving Bitwarden attachments and exports to USB disks and equivalents. The home interface was previously present but has been removed as part of https://github.com/bitwarden/clients/pull/3596. This commit should fix https://github.com/bitwarden/clients/issues/3923 Co-authored-by: Bernd Schoolmann --- apps/cli/stores/snap/snapcraft.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/cli/stores/snap/snapcraft.yaml b/apps/cli/stores/snap/snapcraft.yaml index adb35a66b1..df4105cb8d 100644 --- a/apps/cli/stores/snap/snapcraft.yaml +++ b/apps/cli/stores/snap/snapcraft.yaml @@ -35,7 +35,8 @@ apps: command: bw environment: XDG_CONFIG_HOME: $SNAP_USER_DATA - plugs: [network, network-bind, desktop] + plugs: [network, network-bind, desktop, home, removable-media] + parts: bw: plugin: dump