Thank you for reporting this but, this is by design. Snaps can't access the user's home by default. However, they can write data to their own directories under home (e.g., /home/<user>/snap/<snap_name>/). Snaps can obtain access to the user's non-hidden files under home by connecting to the "home" interface (https://snapcraft.io/docs/home-interface) or by running without confinement (which isn't recommended). Access to hidden files can be obtained through the personal-files interface (https://forum.snapcraft.io/t/the-personal-files-interface/9357). The same also applies to /tmp. Snaps don't have full access to it by default, but they do have separate spaces under it (/tmp/snap.<snap_name>/tmp/).
Hi,
Thank you for reporting this but, this is by design. Snaps can't access the user's home by default. However, they can write data to their own directories under home (e.g., /home/< user>/snap/ <snap_name> /). Snaps can obtain access to the user's non-hidden files under home by connecting to the "home" interface (https:/ /snapcraft. io/docs/ home-interface) or by running without confinement (which isn't recommended). Access to hidden files can be obtained through the personal-files interface (https:/ /forum. snapcraft. io/t/the- personal- files-interface /9357). The same also applies to /tmp. Snaps don't have full access to it by default, but they do have separate spaces under it (/tmp/snap. <snap_name> /tmp/).