-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Posix file permissions with ZIP driver? #6
Comments
If I assume you're using Apache Commons Compress (a dependency) there does appear to be support for the "Extra Fields". I'm not sure if this is where external attributes are stored or not, but this is how Linux and Mac store permissions data inside a ZIP: |
Apache Commons Compress does support external links, though it could be that you're using ZipArchiveInputStream instead of ZipFile. The documentation for ZipArchiveInputStream indicates that external attributes are not preserved. |
I just noticed in truevfs-comp-zip documentation that you specifically indicate that External File Attributes are supported. However, this does not appear to work when using |
I'm sorry for the very late response, notifications were accidentally shut off. TrueVFS generally doesn't support handling file permissions. |
The ZIP driver does not appear to capture any POSIX file permissions. The documentation says "best effort" and I'm aware there is an open ticket for this (https://bugs.openjdk.java.net/browse/JDK-6194856) when using standard Zip capabilities in JDK. However, I'm not sure if TrueVFS is using the JDK ZIP tools or not.
The text was updated successfully, but these errors were encountered: