/oss · 3 merged

hasenbanck/sevenz-rust2

A Rust library for making and opening 7z archives.

the project on GitHub (opens in a new tab)
  1. 21 Nov 2026

    Scripts packed on Linux and macOS stay runnable

    What was broken
    Packing files on Linux or macOS did not save their permissions, so a runnable script came back as a plain file after unpacking, with this library or with the 7z tool.
    What I changed
    I made it store each file's permissions the same way the 7z tool does.
    Why it matters
    Archives made by the library unpack with scripts and programs still ready to run.

    see the code, #165 (opens in a new tab)

  2. 17 Nov 2026

    Shortcut links in a folder are packed, not dropped

    What was broken
    Packing a folder into a 7z archive quietly skipped any links inside it, so those files and folders were missing from the archive with no error.
    What I changed
    Links are now followed: a link to a file stores the file, a link to a folder stores the folder, as the 7z tool does.
    Why it matters
    Archives hold everything the folder showed, so nothing goes missing on unpacking.

    see the code, #164 (opens in a new tab)

  3. 16 Nov 2026

    Unpacked files keep their permissions

    What was broken
    Files unpacked from a 7z archive lost their permissions, so scripts and programs could no longer be run.
    What I changed
    On Linux and macOS, files are now created with the permissions saved in the archive.
    Why it matters
    Programs and scripts work straight out of the archive, like with the 7z tool.

    see the code, #161 (opens in a new tab)

← every project