tamam.. acilirken de duzgun attribute'lari set etsin!
Bu caglar icin!!!! cok severiz biz caglar'i.
This commit is contained in:
@@ -171,6 +171,11 @@ class ArchiveZip(ArchiveBase):
|
||||
d = os.path.join(target_dir, outpath)
|
||||
if not os.path.isdir(d):
|
||||
os.makedirs(d)
|
||||
perm = info.external_attr
|
||||
perm &= 0x08FF0000
|
||||
perm >>= 16
|
||||
perm |= 0x00000100
|
||||
os.chmod(d, perm)
|
||||
continue
|
||||
|
||||
# check that output dir is present
|
||||
|
||||
Reference in New Issue
Block a user