[Debexpo-devel] [debexpo] 02/06: fix permissions in the importer after jessie upgrade

Mattia Rizzolo mattia at debian.org
Fri Feb 23 16:48:39 UTC 2018


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch live
in repository debexpo.

commit c4044a46d703f90ed7b382df82acfa4dd5c3114d
Author: Debexpo Live User <expo at wv-debian-mentors1.wavecloud.de>
Date:   Fri Feb 23 15:56:29 2018 +0000

    fix permissions in the importer after jessie upgrade
    
    maybe there is a different default umask?!
---
 bin/debexpo_importer.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/debexpo_importer.py b/bin/debexpo_importer.py
index 1ecb901..8b08699 100755
--- a/bin/debexpo_importer.py
+++ b/bin/debexpo_importer.py
@@ -572,6 +572,7 @@ class Importer(object):
         for file in toinstall:
             log.debug("Installing new file %s" % (file))
             shutil.move(file, os.path.join(destdir, file))
+            os.chmod(os.path.join(destdir, file), 0o644)
 
         self._remove_temporary_files()
         # Create the database rows

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debexpo/debexpo.git



More information about the Debexpo-devel mailing list