diff options
author | John Stebbins <[email protected]> | 2018-06-08 10:47:03 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2018-06-08 10:51:07 -0700 |
commit | 30c510026e046b11f8f7ea7c74d28a4b6a054a22 (patch) | |
tree | 67c0f9685d8777454a24277824e94bbab29c6fb9 /pkg | |
parent | 1193b1119788ea4db1d62b094287d13b6a9a9f6c (diff) |
flatpak: add --filesystem=host to sandbox permissions
GtkFileChooserNative is required in order to use the document portal.
Using this file chooser will require significant rework of source
selection, so enable host filesystem access until I can do this.
The CLI will need host filesystem access anyway since it can't use the
document portal.
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/linux/flatpak/fr.handbrake.HandBrakeCLI.json | 3 | ||||
-rw-r--r-- | pkg/linux/flatpak/fr.handbrake.ghb.json | 9 |
2 files changed, 6 insertions, 6 deletions
diff --git a/pkg/linux/flatpak/fr.handbrake.HandBrakeCLI.json b/pkg/linux/flatpak/fr.handbrake.HandBrakeCLI.json index 5acef796f..13752bda7 100644 --- a/pkg/linux/flatpak/fr.handbrake.HandBrakeCLI.json +++ b/pkg/linux/flatpak/fr.handbrake.HandBrakeCLI.json @@ -5,8 +5,7 @@ "sdk": "org.gnome.Sdk", "command": "HandBrakeCLI", "finish-args": [ - "--filesystem=xdg-videos", - "--filesystem=home" + "--filesystem=host" ], "modules": [ { diff --git a/pkg/linux/flatpak/fr.handbrake.ghb.json b/pkg/linux/flatpak/fr.handbrake.ghb.json index f0f2e99d9..ff24c7f8d 100644 --- a/pkg/linux/flatpak/fr.handbrake.ghb.json +++ b/pkg/linux/flatpak/fr.handbrake.ghb.json @@ -7,10 +7,11 @@ "finish-args": [ "--share=ipc", "--socket=x11", "--socket=wayland", - "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro", - "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf", - "--filesystem=xdg-videos", - "--filesystem=home" + "--filesystem=xdg-run/dconf", + "--filesystem=~/.config/dconf:ro", + "--talk-name=ca.desrt.dconf", + "--env=DCONF_USER_CONFIG_DIR=.config/dconf", + "--filesystem=host" ], "modules": [ { |