In testing my snap, I can’t install the local snap with the same bevaviour as when getting it from the store. My confinement is strict, however when I do:
snap install --dangerous <filename>
when it looks for its config in /etc/ its seeing the files on the host.
But when I install from the store,
snap install --beta <my-app-name>
and then looks for config files in /etc/ it sees the ones from my layout.
How can I get the same behaviour so I don’t always have to upload to the store?