zipfile and file permissions

Robert Kern robert.kern at gmail.com
Fri Jan 20 12:54:52 EST 2006


Pete Forman wrote:
> I'm trying to move the building of a zip file from a shell script into
> python.  It is mostly working but when I unzip the files the UNIX
> permissions are not preserved.  The zip program I've been using is the
> standard(?) one on Linux, from Info-Zip.  Presumably I need to do
> something with external_attr in ZipInfo, any pointers?

C.f.: http://mail.python.org/pipermail/pythonmac-sig/2005-March/013491.html

-- 
Robert Kern
robert.kern at gmail.com

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter




More information about the Python-list mailing list