I'd like to allow the snapped thunderbird RW access to the path /my/path. How can I do that?
- 609
2 Answers
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/pathto 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
- 68,493
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.
- 11