you can use
as a workaround from inside your snap until something like this is integrated in snapd (or the userd) eventually …