From 945191f0c6c2424969c0e97546db1b212868ce5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Tue, 11 Oct 2005 19:29:05 +0000 Subject: [PATCH] also handle the suid bit. Zaburt is our man :). --- pisi/archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/archive.py b/pisi/archive.py index 6e7ddd12..2427d0e1 100644 --- a/pisi/archive.py +++ b/pisi/archive.py @@ -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')