The personal-files interface is declared by the snap and is unmodifiable by the user. The user may simply snap connect
or snap disconnect
the interface to allow/disallow the declared access. At some point, we may add the ability for admins to adjust the security policy beyond snap connect/disconnect, but that is not available today.
Furthermore, it is a current limitation of the feature that you cannot see what accesses are granted when connecting the personal-files interface, which is why as part of our approval process we require that the interface reference provide a clue to what is being granted. You can fetch the snap yaml like so prior to downloading (requires the http
and jq
snaps to be installed; there is probably a curl invocation that would achieve the same):
$ SNAPNAME=chromium ; http https://api.snapcraft.io/v2/snaps/info/$SNAPNAME Snap-Device-Series:16 fields==snap-yaml | jq -r '."channel-map"[0]."snap-yaml"'
name: chromium
...
plugs:
...
chromium-config:
interface: personal-files
read:
- $HOME/.config/chromium
...