summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <egon@tas>2007-03-14 17:11:31 +0100
committerMichael Vogt <egon@tas>2007-03-14 17:11:31 +0100
commit54eda6ae969cd66d06fe82f7175f753a74d2b7dc (patch)
treef30fa688ac4bcf96fe74fd1fc4229384a3058971 /cmdline
parent7898bd970a791bb8892b0dfdffc683828a447900 (diff)
cmdline/apt-mark: fix chmod()/rename() ordering
Diffstat (limited to 'cmdline')
-rwxr-xr-xcmdline/apt-mark1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdline/apt-mark b/cmdline/apt-mark
index 533ed8715..dadc01366 100755
--- a/cmdline/apt-mark
+++ b/cmdline/apt-mark
@@ -60,4 +60,5 @@ if __name__ == "__main__":
else:
outfile.write(str(tagfile.Section)+"\n")
# all done, rename the tmpfile
+ os.chmod(outfile.name, 0644)
os.rename(outfile.name, STATE_FILE)