snap - how to grant permanent permission to read folder

This is the intentional behavior of snapd and hard-coded into source code.

This feature, opening files in snapd, is new (about seven month old). As I understand the developers are conservative and prompt is to prevent any security issues. The discussion about subject in forum.snapcraft.io and pull request that introduced new feature.


I got this solved in two steps:

  1. remove chromium-browser from snap: snap remove chromium-browser (snap list to check if the browser is in the snap list)
  2. install the browser traditionally: sudo apt install chromium-browser