Maintain file permissions when extracting from a zip file using JDK 5 api

Posted by Raymond on Stack Overflow See other posts from Stack Overflow or by Raymond
Published on 2009-06-26T18:32:24Z Indexed on 2010/03/12 11:57 UTC
Read the original article Hit count: 528

Filed under:
|
|

I am using java.util.Zip and java.util.ZipEntry to successfully extra a zip file's contents to disk. I would like to maintain the file permissions set when extracting on a *nix file-system.

Can anyone point me to the "correct" way to do this?

© Stack Overflow or respective owner

Related posts about java

Related posts about io