pardon, bu caglar icinmis..
caglar, sticky bit'ler sana kurban olsun ulan.
This commit is contained in:
+1
-1
@@ -172,7 +172,7 @@ class ArchiveZip(ArchiveBase):
|
|||||||
if not os.path.isdir(d):
|
if not os.path.isdir(d):
|
||||||
os.makedirs(d)
|
os.makedirs(d)
|
||||||
perm = info.external_attr
|
perm = info.external_attr
|
||||||
perm &= 0x08FF0000
|
perm &= 0xFFFF0000
|
||||||
perm >>= 16
|
perm >>= 16
|
||||||
perm |= 0x00000100
|
perm |= 0x00000100
|
||||||
os.chmod(d, perm)
|
os.chmod(d, perm)
|
||||||
|
|||||||
Reference in New Issue
Block a user