summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-15 15:38:27 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-03-15 15:38:27 -0400
commit43f7458353755aebfc90045890fabefc95910c28 (patch)
treeeeed4411ead3e61cf7c92ab14cde5c4391ed7f0f
parent45fc83af89d012c351857de3fd23a2eac5c10c8c (diff)
chmod the file after creating it, since later it will contain potentially secret info
-rwxr-xr-xinit.d/10restore-etckeeper1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.d/10restore-etckeeper b/init.d/10restore-etckeeper
index f49e70c..984d521 100755
--- a/init.d/10restore-etckeeper
+++ b/init.d/10restore-etckeeper
@@ -7,4 +7,5 @@ if [ -e .etckeeper ]; then
. ./.etckeeper
else
touch .etckeeper
+ chmod 600 .etckeeper
fi