Shoud remove --purge delete /tmp/snap.SNAP?

Recently, while troubleshooting a snap, I did snap remove --purge <snap_name>. I assumed it would remove all traces of the snap from my machine. But it took me a while to realize the snap’s tmp directory was not deleted (/tmp/snap.SNAP_NAME/tmp). This is not a huge issue for me because i can manually delete the content, but it made wonder if this was the intended behavior or a bug?

Is there documentation that explains snap commands in this level of detail? I couldn’t find it in the docs.

This seems like a reasonable thing to delete.

No, not really. I think this level of detail is essentially implementation details unfortunately

1 Like