also handle the suid bit.

Zaburt is our man :).
This commit is contained in:
Barış Metin
2005-10-11 19:29:05 +00:00
parent a850cb9fad
commit 945191f0c6
+1 -1
View File
@@ -184,7 +184,7 @@ class ArchiveZip(ArchiveBase):
os.symlink(target, ofile)
else:
perm = info.external_attr
perm &= 0x00FF0000
perm &= 0x08FF0000
perm >>= 16
perm |= 0x00000100
buff = open (ofile, 'wb')