summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-04 15:19:58 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-04 15:19:58 -0500
commitf6b18f9a4ad203fd0e02bc7dab298246ffd4ea22 (patch)
tree47f5431640bdf44f1d141c1c286e33465ec1140f
parent8eefc1b98f645d1462442cdb357bfcfe06a9c1e4 (diff)
set proper permissions on administrator gnupghome.
-rwxr-xr-xtests/basic1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basic b/tests/basic
index 455c057..b0b5e9b 100755
--- a/tests/basic
+++ b/tests/basic
@@ -32,6 +32,7 @@ which socat >/dev/null || { echo "You must have socat installed to run this test
# gpg command for test admin user
gpgadmin() {
+ chmod 0700 "$TEMPDIR"/admin
GNUPGHOME="$TEMPDIR"/admin/.gnupg gpg "$@"
}