Skip to content
/ Zipix Public

A tool to set unix permissions in a zipfile.

License

Notifications You must be signed in to change notification settings

jerith/Zipix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zipix

Travis status AppVeyor status

Zipix is a tool to set unix permissions in a zipfile. Specifically, it sets the execute bits on certain files so that cross-platform software with unix executables can be built on non-unix systems and extracted on unix systems without having to fix permissions.

All directories get drwxr-xr-x permissions, files matching any of a set of "executable patterns" get -rwxr-xr-x permissions, and other files get -rw-r--r-- permissions.

status

Works On My Machine(tm)

At the moment, I have an implementation of a subset of the documented zipfile format that successfully reads and writes the most common records headers and a set of record processors that will set the relevant unix permission header fields. This is wrapped up in a command line tool that will read a zipfile, process it, and write to a new file.

usage

Zipix.exe -i foo.zip -o bar.zip --exec-suffix .x86 --exec-dir bin

license

This code is covered by the MIT license. See the LICENSE file for details.

About

A tool to set unix permissions in a zipfile.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages