-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How does compression/uncompress work? #26
Comments
I see it only enables when you are not in safe mode - is there a reason for this? |
First at all, zip has no compression action, because the busybox versión not implements a zip executable. It can be done by java, by this breaks how shell console works (using always linux commands). Also i think this has some legal concerns. Zip is only supported for uncompression. So, only compression/uncompression executables from busybox were implemented: compression: gzip, bzip2, tar, tar+gzip, tar+bzip2 The reason for not enabling unzip in safe mode is that I can't create a sandboxed folder for the uncompression of the zip (as i can do with tar), and the zip can contain relative paths, and if there are uncompressed in a folder, the result is that some extracted files or folder should be extracted in a folder system (overwritting or trying the filesystem). Running sage mode in a non privileged console normally this is not a risk, but i decided not allow it. |
OK. Makes sense. Thanks for clarifying
|
I am not seeing it in the actions menu and if I click on a zip it prompts m for an app. I though it was built in, no?
The text was updated successfully, but these errors were encountered: