Skip to content

-1 returned from ZipEntry.ExternalFileAttributes #734

@emmayspark

Description

@emmayspark

Steps to reproduce

  1. Zip a file on Linux using Info-Zip
  2. Unzip using the library
  3. Try to retrieve the file permissions
    int unixFilePermission = zipEntry.ExternalFileAttributes;

Expected behavior

unixFilePermission returns the right int value

Actual behavior

ExternalFileAttributes returns -1 for all extracted files (zip entry)

Version of SharpZipLib

1.3.3

Obtained from (only keep the relevant lines)

  • Package installed using NuGet

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions