also handle the suid bit.
Zaburt is our man :).
This commit is contained in:
+1
-1
@@ -184,7 +184,7 @@ class ArchiveZip(ArchiveBase):
|
|||||||
os.symlink(target, ofile)
|
os.symlink(target, ofile)
|
||||||
else:
|
else:
|
||||||
perm = info.external_attr
|
perm = info.external_attr
|
||||||
perm &= 0x00FF0000
|
perm &= 0x08FF0000
|
||||||
perm >>= 16
|
perm >>= 16
|
||||||
perm |= 0x00000100
|
perm |= 0x00000100
|
||||||
buff = open (ofile, 'wb')
|
buff = open (ofile, 'wb')
|
||||||
|
|||||||
Reference in New Issue
Block a user