5

I'd like to allow the snapped thunderbird RW access to the path /my/path. How can I do that?

DarkTrick
  • 609

2 Answers2

3

Snaps are designed to include built-in confinement.
That confinement specifically prohibits access to random places in the filesystem.

So, essentially, snap packages are the wrong tool. They are not designed for this usage.

You have a couple options:

  • (Easy) You can use a different (non-Snap) source for the software that needs access to /my/path

  • (Intermediate) You can bind-mount your /my/path to a location that is permitted by confinement

    $ mount --bind /my/path /home/me/mounts/path

  • (Advanced) You can muck about with AppArmor rules to permit each snap to access /my/path

user535733
  • 68,493
1

Have a look at How to access files outside of /home in snap apps? The settings mentioned in this post can also be changed via Settings -> Applications -> Thunderbird. If you enable access for removable media then the snap should have access to removable media in /media/ and /mnt.

ndx
  • 11