17

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

orschiro
  • 12,987
  • 16
  • 82
  • 157
  • 1
    See [this answer](https://askubuntu.com/questions/762354/where-can-ubuntu-snaps-write-data/762405#762405) for more information. – kyrofa Jul 06 '16 at 11:14

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
  • 35,754
  • 55
  • 92
  • 145
didrocks
  • 2,452
  • 15
  • 12