From 30c510026e046b11f8f7ea7c74d28a4b6a054a22 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Fri, 8 Jun 2018 10:47:03 -0700 Subject: [PATCH] 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. --- pkg/linux/flatpak/fr.handbrake.HandBrakeCLI.json | 3 +-- 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": [ { -- 2.40.0