-
Enhancement
-
Resolution: Unresolved
-
P4
-
17
A DESCRIPTION OF THE PROBLEM :
The ZIP file format uses a bit in the permissions field to indicate an entry is a symbolic link. ZipFS doesn't support this and thus symlinks are unpacked as regular files.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a zip file with a symlink in it using e.g. a command line tool or Apache Commons Compress.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Open it with ZipFS and call Files.isSymbolicLink on the symlink. It returns false when it should return true.
CUSTOMER SUBMITTED WORKAROUND :
Only workaround is not using ZipFS at all :(
The ZIP file format uses a bit in the permissions field to indicate an entry is a symbolic link. ZipFS doesn't support this and thus symlinks are unpacked as regular files.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a zip file with a symlink in it using e.g. a command line tool or Apache Commons Compress.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Open it with ZipFS and call Files.isSymbolicLink on the symlink. It returns false when it should return true.
CUSTOMER SUBMITTED WORKAROUND :
Only workaround is not using ZipFS at all :(