i am not familiar with snap creation.
But i have another question: what happens to user’s config files if you do not use your snap for a long time, and remove old revisions frequently, to clean space?
Since user’s config files are created when you launch a snap app command the first time (for example, for lxd it is created when i launch a “lxc list” command the first time after refreshed), if several revisions are installed, but not used, there should be a few revisions config files directories? And then, how snap choose config files to copy from?
example with remmina:
ls -la /snap/remmina/
drwxr-xr-x 11 root root 265 févr. 14 10:03 2648
drwxr-xr-x 11 root root 265 févr. 17 21:29 2660
lrwxrwxrwx 1 root root 4 févr. 18 09:00 current -> 2660
-> only 2 versions
-> i have never used 2648 revision, so user’s config files are not created
in ~/snap/remmina: 1782 1833 1893 2055 2066 2070 2660 common current
there is no 2648
The last conf files are in 2070, which are “good config files”, since i have copied them manually from another revision directory, days before (i do that from the beginning …)
But “current” follows 2660, which are fresh reseted config files …
So what config files have been copied?