You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Log into a Sandstorm instance, then create an instance of an app, and use it for a little while.
Click the "Download backup" link at the top.
Find a *.zip file in your ~/Downloads directory.
Unzip it.
Discover it has created files at the top level.
Expected behavior:
The data should be within a directory like grain-id/var or something like that, to avoid stomping on files in the current working directory where the user unzipped it.
This issue is probably pretty bite-sized, so marking as such.
The text was updated successfully, but these errors were encountered:
Hmm, traditionally zip etiquette says not to create a wrapper directory -- this differs from tar etiquette. GUI-based unzip tools (particularly on Windows/Mac) typically create a wrapper directory automatically. Unfortunately the unix unzip tool decides to match tar here, despite annoyingly not matching tar on so many other points.
I think I'd second @kentonv on that. I actually always make sure the zip tool is creating an appropriate folder for just this reason (and it usually does), and nothing makes me sadder then lots of nested folders to get to the stuff.
Steps to reproduce:
Expected behavior:
grain-id/var
or something like that, to avoid stomping on files in the current working directory where the user unzipped it.This issue is probably pretty bite-sized, so marking as such.
The text was updated successfully, but these errors were encountered: