Message116093
| Author |
Thomas.Sondergaard |
| Recipients |
Thomas.Sondergaard |
| Date |
2010年09月11日.12:11:58 |
| SpamBayes Score |
1.1729134e-07 |
| Marked as misclassified |
No |
| Message-id |
<1284207120.65.0.876260441068.issue9835@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
For entries written with writestr ZipFile doesn't record the file type in the unix external attributes block. It should set it to "regular file" (S_IFREG).
The attached sample creates a zip file. If you inspect it with zipinfo -v, you will see that the unix file type is not correct for the entry stored with writestr.
[ts@roadrunner ~]$ zipinfo -v test.zip |grep "Unix file attributes"
Unix file attributes (000600 octal): ?rw-------
Unix file attributes (100664 octal): -rw-rw-r-- |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年09月11日 12:12:00 | Thomas.Sondergaard | set | recipients:
+ Thomas.Sondergaard |
| 2010年09月11日 12:12:00 | Thomas.Sondergaard | set | messageid: <1284207120.65.0.876260441068.issue9835@psf.upfronthosting.co.za> |
| 2010年09月11日 12:11:59 | Thomas.Sondergaard | link | issue9835 messages |
| 2010年09月11日 12:11:58 | Thomas.Sondergaard | create |
|