Sharing multiple filesystem paths

Alexander Larsson alexl at redhat.com
Mon Apr 1 14:24:41 UTC 2019


On Fri, Mar 29, 2019 at 12:05 AM Daniel Kasak <d.j.kasak.dk at gmail.com> wrote:
>
> Hi all.
>
> How would I go about exposing multiple paths to an app ... eg ~/.ssh
> and ~/.icons
>
> I've tried:
>
>         "--filesystem=~/.ssh",
>         "--filesystem=~/.icons",
>         "--filesystem=~/SDF_persisted",
>
>  ... but only the *first* of these is used.

This is the right syntax. My guess is that the files don't exist, so
don't get mapped into the app. You can append ":create" which
guarantees that the dirs exists.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                Red Hat, Inc
       alexl at redhat.com         alexander.larsson at gmail.com


More information about the Flatpak mailing list