Hi, when using the command “
snap save” data will be copied from the home directory (~/snap/) to the var directory (/var/lib/snapd/snapshots/).
In case the home directory is encrypted that means data will be copied from an encrypted to an unencrypted location which can be a big security issue.
On my laptop the home directory is encrypted. If the laptop gets lost/stolen my data are not accessible. However if I did “
snap save firefox” before all Firefox data (logins, passwords, bookmarks, history) are unencrypted under /var and exposed to anyone who has access to the laptop.