I have installed evince through snap in ubuntu 18.04 and only opens files inside home folder.
** (evince:6214): WARNING **: 00:03:47.818: set_filenames: Error when getting information for file “/SCRATCH/pnas.201707945.pdf”: No such file or directory
I have found a similar problems in other snap installed packages and seems that the problem is related with apparmor.
I don't want to switch off apparmor, I only want to know how to allow for each snap a set of folders where they can have access. Probably different ones by snap app.