From 28e7d878ce3cb6770647b95f4156b48b05f1992c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Thu, 17 Aug 2006 20:35:31 +0000 Subject: [PATCH] =?UTF-8?q?haklar=C4=B1=20d=C3=BCzg=C3=BCn=20olan=20paketl?= =?UTF-8?q?er=20yanl=C4=B1=C5=9F=20haklarla=20a=C3=A7=C4=B1l=C4=B1yor,=20-?= =?UTF-8?q?rwx-wx-wx=201=20root=20root=20=2087272=20A=C4=9Fu=2017=2023:15?= =?UTF-8?q?=20/usr/lib/libbeagle.so.0.0.0=20gibi.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/archive.py | 6 ------ pisi/constants.py | 3 --- 2 files changed, 9 deletions(-) diff --git a/pisi/archive.py b/pisi/archive.py index 8529786e..8d24f89c 100644 --- a/pisi/archive.py +++ b/pisi/archive.py @@ -123,12 +123,6 @@ class ArchiveTar(ArchiveBase): self.tar.extract(tarinfo) - # tarfile.extract does not honor umask. It must be honored explicitly. - # see --no-same-permissions option of tar(1), which is the deafult - # behaviour. - if not os.path.islink(tarinfo.name): - os.chmod(tarinfo.name, tarinfo.mode - ctx.const.umask) - os.chdir(oldwd) self.close() diff --git a/pisi/constants.py b/pisi/constants.py index 075d7898..40445d15 100644 --- a/pisi/constants.py +++ b/pisi/constants.py @@ -79,9 +79,6 @@ class Constants: self.__c.install_tar = "install.tar" self.__c.install_tar_lzma = "install.tar.lzma" - #file/directory permissions - self.__c.umask = 0022 - # functions in actions_file self.__c.setup_func = "setup" self.__c.build_func = "build"