[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] 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 <joerg@debian.org>
 dak/process_new.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dak/process_new.py b/dak/process_new.py
index acc4522..3f6bbdb 100755
--- a/dak/process_new.py
+++ b/dak/process_new.py
@@ -854,7 +854,7 @@ def move_to_holding(suite, queue_dir):
     Logger.log(["Moving to %s" % (suite,), Upload.pkg.changes_file])
-    move_to_dir(queue_dir)
+    move_to_dir(queue_dir, perms=0664)
 def _accept():

Reply to: