Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 456018 Details for
Bug 647234
Zipped input files with no attribute information cause all-zeros file permissions
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
Simple Java program to generate zip files without permission info
JavaZip.java (text/x-java), 319 bytes, created by
Dominic Cleal
on 2010-10-27 16:18:17 UTC
(
hide
)
Description:
Simple Java program to generate zip files without permission info
Filename:
MIME Type:
Creator:
Dominic Cleal
Created:
2010-10-27 16:18:17 UTC
Size:
319 bytes
patch
obsolete
>import java.io.*; >import java.util.zip.*; >public class JavaZip { > public static void main(String[] args) throws Exception { > ZipOutputStream out = new ZipOutputStream(new FileOutputStream("test_java.zip")); > out.putNextEntry(new ZipEntry("a.file")); > out.write(new byte[10]); > out.closeEntry(); > out.close(); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 647234
:
456016
| 456018 |
456019