Kaydet (Commit) 57493df6 authored tarafından Your Name's avatar Your Name

fix chmod

üst a480eb91
...@@ -520,7 +520,7 @@ class ArchiveTar(ArchiveBase): ...@@ -520,7 +520,7 @@ class ArchiveTar(ArchiveBase):
os.chmod(tarinfo.name, tarinfo.mode) os.chmod(tarinfo.name, tarinfo.mode)
else: else:
os.lchown(tarinfo.name, 0,0) os.lchown(tarinfo.name, 0,0)
os.lchmod(tarinfo.name, tarinfo.mode) os.chmod(tarinfo.name, tarinfo.mode)
if self.no_same_owner: if self.no_same_owner:
uid = os.getuid() uid = os.getuid()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment