summaryrefslogtreecommitdiff
path: root/git.liw.fi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git.liw.fi.sh')
-rw-r--r--git.liw.fi.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/git.liw.fi.sh b/git.liw.fi.sh
index 8e3ecd0..56945e4 100644
--- a/git.liw.fi.sh
+++ b/git.liw.fi.sh
@@ -1,6 +1,13 @@
# Shell library for running git.liw.fi ACL tests.
+# We create ssh keys in the test suite. The temporary directory,
+# $DATADIR, must be made inaccessible to others before that happens.
+# We do it here, so it gets done before any of the code from an
+# IMPLEMENTS actually runs.
+chmod 0700 "$DATADIR"
+
+
# This is handy for giving an error message and aborting.
die()