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 <mail@quexten.com>
This commit is contained in:
Julien Mailleret 2024-10-25 10:39:09 +02:00 committed by GitHub
parent 55cd435279
commit e1dce75f56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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