]> git.decadent.org.uk Git - dak.git/commitdiff
process-unchecked
authorJoerg Jaspert <joerg@debian.org>
Tue, 14 Apr 2009 20:47:46 +0000 (22:47 +0200)
committerJoerg Jaspert <joerg@debian.org>
Tue, 14 Apr 2009 20:47:46 +0000 (22:47 +0200)
move files to NEW using 0640 (changes 0644) mode, not default 0660/0664

Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/process_unchecked.py

index 9301497b6ee18e6c2a31c1fa86af91b6dbad19d2..0a12eacabde747c504d0c8e11b62f9fe7e1d02fb 100755 (executable)
@@ -1483,7 +1483,7 @@ def acknowledge_new (summary, short_summary):
     Logger.log(["Moving to new", pkg.changes_file])
 
     Upload.dump_vars(Cnf["Dir::Queue::New"])
-    move_to_dir(Cnf["Dir::Queue::New"])
+    move_to_dir(Cnf["Dir::Queue::New"], perms=0640, changesperms=0644)
 
     if not Options["No-Mail"]:
         print "Sending new ack."