PowerShell / Microsoft.PowerShell.Archive

Archive PowerShell module contains cmdlets for working with ZIP archives
https://technet.microsoft.com/en-us/library/dn818910.aspx
MIT License
94 stars 37 forks source link

Copy Unix File Permissions In Zip #146

Closed hwoodiwiss closed 1 year ago

hwoodiwiss commented 1 year ago

PR Summary

Aims to add support for copying Unix file permissions when using Compress-Archive to create Zip Archives

PR Context

This PR fixes #36 by bitwise-or-ing the FilesystemInfo.UnixFileMode property into the ZipArchiveEntry.ExternalAttributes

hwoodiwiss commented 1 year ago

@microsoft-github-policy-service agree