Saving files to directories outside of the sandbox

What am I meant to do if I have a program on snap running in the Sandbox and I want to allow users to be able to select paths to save files to that are not within the sandbox “chroot” ?

you use an interface … i.e. the home interface allows full access to all non-hidden dirs under the users home … if you use some desktop integration via something like the gnome extension your app can also use xdg-portals that allows even more access through a proxy system.

Ah thank you, adding the home interface sounds like my level of requirements.

Anyone else interested I had to enable the home interface and then set the HOME environment variable to point to the right location in my YAML, using the answer here: Accessing home directory with home interface