17

I just noticed an empty folder called snap in my user's home directory. What is this folder being used for?

orschiro
  • 13,317
  • 17
  • 87
  • 161

1 Answers1

10

This directory is corresponding to $SNAP_USER_DATA for your snaps. This is where your snaps will be able to write versioned data under your user account. $HOME for your snap will be set to it as well.

You will find there:

  • ~/snaps

    • <snap name>

      • <version 1>

        data for version 1

      • <version 2>

        data for version 2

and so on…

David Foerster
  • 36,264
  • 56
  • 94
  • 147
didrocks
  • 2,452