Message191456
I'd be +1 on extending the zipfile API in 3.4 (with a documentation update in older releases as suggested by anatoly):
* Add a method or property to ZipInfo for (un)packing
the external_attr field
* Add an keyword argument to Zipfile.extract and Zipfile.extractall that
toggles restoring file permissions. This should be off by default for
backward compatibility.
The code that restores the file permissions should be careful to avoid
security problems, IMHO it should by default ignore the SUID en SGID
bits. |
|
Date |
User |
Action |
Args |
2013-06-19 08:24:16 | ronaldoussoren | set | recipients:
+ ronaldoussoren, techtonik, docs@python |
2013-06-19 08:24:16 | ronaldoussoren | set | messageid: <1371630256.06.0.200559325885.issue18262@psf.upfronthosting.co.za> |
2013-06-19 08:24:16 | ronaldoussoren | link | issue18262 messages |
2013-06-19 08:24:15 | ronaldoussoren | create | |
|