[GNC-dev] gnucash-on-flatpak master: Relax default sandbox restrictions to allow filesystem access to the complete host system

Mike Commissaris commissaris.mike at gmail.com
Fri Oct 2 12:25:24 EDT 2020


Would this allow direct printing to printer as well?

On Fri, Oct 2, 2020 at 1:06 AM Geert Janssens <gjanssens at code.gnucash.org>
wrote:

> Updated  via
> https://github.com/Gnucash/gnucash-on-flatpak/commit/d282118a (commit)
>         from
> https://github.com/Gnucash/gnucash-on-flatpak/commit/bb7d5c23 (commit)
>
>
>
> commit d282118a0b32ba22a22e021c04dc70605c6d1a4b
> Author: Geert Janssens <geert at kobaltwit.be>
> Date:   Fri Oct 2 10:06:07 2020 +0200
>
>     Relax default sandbox restrictions to allow filesystem access to the
> complete host system
>
>     This should make it easier for users to store there gnucash (meta)data
> outside
>     of their home directories, like on an external drive or a usb stick.
>     It may also help with using 'localhost' for mysql backed books but I
> haven't tested that.
>
>     If users want a tighter sandbox, they can override this default with
> the 'flatpak override' command
>
> diff --git a/org.gnucash.GnuCash.json b/org.gnucash.GnuCash.json
> index c63c145..a581c5c 100644
> --- a/org.gnucash.GnuCash.json
> +++ b/org.gnucash.GnuCash.json
> @@ -13,7 +13,7 @@
>      "--socket=x11",
>      "--share=ipc",
>      "--share=network",
> -    "--filesystem=home",
> +    "--filesystem=host",
>      "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
>      "--talk-name=ca.desrt.dconf",
> "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
>    ],
>
>
>
> Summary of changes:
>  org.gnucash.GnuCash.json | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> _______________________________________________
> gnucash-changes mailing list
> gnucash-changes at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-changes
>


-- 
Mike


More information about the gnucash-devel mailing list