From: Joerg Jaspert Date: Thu, 2 Apr 2009 20:00:51 +0000 (+0200) Subject: p-n X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b76e444e5b6d03e45886e8c351420508e00655dc;p=dak.git p-n this should fix the case where files moved into [o-]p-u-new are unreadable for everyone but the one running p-u-new. The code simply didnt set the permissions right, defaulting to 0660 instead. Signed-off-by: Joerg Jaspert --- diff --git a/dak/process_new.py b/dak/process_new.py index acc4522f..3f6bbdbf 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -854,7 +854,7 @@ def move_to_holding(suite, queue_dir): return Logger.log(["Moving to %s" % (suite,), Upload.pkg.changes_file]) Upload.dump_vars(queue_dir) - move_to_dir(queue_dir) + move_to_dir(queue_dir, perms=0664) os.unlink(Upload.pkg.changes_file[:-8]+".dak") def _accept():