Details
Description
If you do the following:
- create a zip file containing some files
- delete the original files
- restore the files from the zip
Results:
All of the original permissions and ownership have changed to:
owner: whomever did the restore
permissions: whatever the umask calls for (on UNIX)
IMHO it is a HUGE problem that the JDK uses a least-common-denominator approach to java.io I.e. no permissions or ownership support!
###@###.### 2004-11-12 20:46:11 GMT
- create a zip file containing some files
- delete the original files
- restore the files from the zip
Results:
All of the original permissions and ownership have changed to:
owner: whomever did the restore
permissions: whatever the umask calls for (on UNIX)
IMHO it is a HUGE problem that the JDK uses a least-common-denominator approach to java.io I.e. no permissions or ownership support!
###@###.### 2004-11-12 20:46:11 GMT
Attachments
Issue Links
- duplicates
-
JDK-4171369 unzip will mask off execute bit off of files/directories in jar file
-
- Closed
-
-
JDK-6727834 jar does not preserve permissions
-
- Closed
-
-
JDK-6299847 jar uvf commands doesn't restore group permission when updated with root user.
-
- Closed
-
-
JDK-4097578 Enhance jar tool to preserve file permissions/modes
-
- Closed
-
-
JDK-4931799 file executable permission is lost when extracting from jar file
-
- Closed
-
- relates to
-
JDK-8213031 (zipfs) Add support for POSIX file permissions
-
- Resolved
-
(1 relates to)