]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-mark
* debian/apt.cron.daily:
[apt.git] / cmdline / apt-mark
index 728f083dcb3560e7f5898c03a68b0e81c80e9b3f..fdc3e1856c007b2af30e21d03ccc7e1039e57bd5 100755 (executable)
@@ -60,5 +60,6 @@ if __name__ == "__main__":
             else:
                 outfile.write(str(tagfile.Section)+"\n")
         # all done, rename the tmpfile
             else:
                 outfile.write(str(tagfile.Section)+"\n")
         # all done, rename the tmpfile
+        os.chmod(outfile.name, 0644)
         os.rename(outfile.name, STATE_FILE)
         os.chmod(outfile.name, 0644)
         os.rename(outfile.name, STATE_FILE)
         os.chmod(outfile.name, 0644)