15

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

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…

  • 1
    CommonMark is four spaces; SE does not use GitHub markdown where backtick fencing is acceptable – cat Jul 6 '16 at 16:38
  • 5
    What in the hell is the snap?? – Honza Oct 26 '18 at 17:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.