]> git.decadent.org.uk Git - dak.git/commitdiff
daklib/filewriter.py: indices do not need to be group-writable
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 27 Oct 2013 19:22:11 +0000 (20:22 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 27 Oct 2013 19:22:11 +0000 (20:22 +0100)
daklib/filewriter.py

index 5e11de531fc88722d6ada2e4ef70fcdfddb8bcf7..7db42085298828f6bb2da3168f3ff135552c3a6c 100644 (file)
@@ -65,7 +65,7 @@ class BaseFileWriter(object):
     # internal helper function
     def rename(self, filename):
         tempfilename = filename + '.new'
-        os.chmod(tempfilename, 0o664)
+        os.chmod(tempfilename, 0o644)
         os.rename(tempfilename, filename)
 
     # internal helper function to compress output