Archives
A double click on a file named like an archive (.zip, .tar, .tar.gz, .tgz, .tar.zst, .tar.xz,
.tar.bz2, .jar, …) opens it in an archive tab when its first bytes are a tar (also compressed) or a zip.
Open as Archive, Extract Here… (local files) and Extract To… are in the context menu of the
Files window and the Project window. An archive over SFTP, S3 or FTP is first copied to a private temporary
folder (log in the tab); the copy is removed when the tab closes.
| Format | Read | Created |
|---|---|---|
| tar (ustar, GNU, PAX, v7) | yes | inside tar.gz / tar.zst |
| tar.gz, tar.zst, tar.xz, tar.bz2 | yes (several gzip members or zstd frames too) | tar.gz, tar.zst |
| zip | stored, deflate, deflate64, bzip2, lzma, xz; names UTF-8 or CP437 | yes (deflate) |
Not supported: password-protected zip entries (listed as encrypted, skipped), zip entries compressed with zstd, 7z, rar.
The list
Section titled “The list”Columns: name, size, packed size (zip), modification time, mode (-rwsr-xr-x), owner (user:group or
uid:gid), type (file, folder, symlink → target, hard link → target, device, FIFO). A zip without an extended
timestamp shows its MS-DOS time, which has no time zone. Tree and Flat list switch the view; a
click on a column header sorts, the filter matches paths. The bottom line sums files, folders, links and
sizes. Control and bidi characters in names show as ⟨U+202E⟩. An entry that an extraction would skip is
shown in amber with the reason. Up to 200 000 entries are listed; a larger archive is not extracted here.
Extracting
Section titled “Extracting”Extract all… or Extract selected… (a folder takes everything below it) open a preview computed before anything is written: the target folder, the number of files, folders and links, bytes, entries already present at the target, skipped entries with the reason, and the limits. Extract runs exactly that; the log names every file, folder and link and every skip.
- Existing files and symlinks are replaced only with Replace existing files and symlinks; folders are never replaced.
- Into the folder puts the entries in a new folder (proposed when the archive has several top-level entries).
- Limits (editable in the preview): 20 GiB, 100 000 entries, and a ratio of 200:1 between the extracted bytes and the archive above 256 MiB. Over a limit, nothing starts. An entry that holds more data than its header says stops the extraction.
The archive is treated as untrusted:
- absolute paths, drive letters and
..are skipped; on Windows also names with:(NTFS streams), device names (CON,NUL.txt) and names ending in a dot or space; - nothing is written through a symlink: every folder on the way must be a real folder, files are created
with
O_EXCL | O_NOFOLLOW(CREATE_NEWwithout following reparse points on Windows), and symlinks from the archive are created after everything else; - a symlink must point inside the target folder (relative, no
..above it, no..after another symlink of the archive, not through a symlink already there); a hard link only to a file this extraction wrote; - devices and FIFOs are not created; setuid, setgid and sticky bits are dropped; ownership is not restored; the modification time of files is.
Compress…
Section titled “Compress…”Select local files or folders in the Files window or the Project window, then Compress…: zip, tar.gz or
tar.zst, name and folder (Save as…). The preview counts files, folders and symlinks and lists what is
skipped (FIFOs, sockets, devices). Symlinks are stored as symlinks, never followed; in zip as an entry with
the Unix symlink mode and the target as data (like zip -y): unzip, 7-Zip and bsdtar restore them, Windows
Explorer writes a small file with the target text. The archive is written to .<name>.kryodesk-part-… next
to the target and renamed when complete; an existing file is never replaced, and a failed or cancelled run
leaves nothing behind. Zip times are written in UTC plus an extended timestamp with the exact Unix time.