hakları düzgün olan paketler yanlış haklarla açılıyor, -rwx-wx-wx 1 root root 87272 Ağu 17 23:15 /usr/lib/libbeagle.so.0.0.0

gibi.
This commit is contained in:
S.Çağlar Onur
2006-08-17 20:35:31 +00:00
parent 68361ff789
commit 28e7d878ce
2 changed files with 0 additions and 9 deletions
-6
View File
@@ -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()
-3
View File
@@ -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"