Tmpfs directory inside a snap (like `/run`)

You can use /tmp for temporary data, or for /run-style data you can use /run/snap.$SNAP_INSTANCE_NAME/ (that will need to be created with a suitable mkdir before it can be used)

2 Likes