]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-mark
- ensure proper permissions in the extended_state file (LP#67037)
[apt.git] / cmdline / apt-mark
index 533ed87153cbfbfc83619bf059c01de7a29c0b50..728f083dcb3560e7f5898c03a68b0e81c80e9b3f 100755 (executable)
@@ -61,3 +61,4 @@ if __name__ == "__main__":
                 outfile.write(str(tagfile.Section)+"\n")
         # all done, rename the tmpfile
         os.rename(outfile.name, STATE_FILE)
+        os.chmod(outfile.name, 0644)