set proper permissions on administrator gnupghome.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 4 Feb 2009 20:19:58 +0000 (15:19 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 4 Feb 2009 20:19:58 +0000 (15:19 -0500)
tests/basic

index 455c0578fb90d4a80f35fe79fe926ab9b307abcc..b0b5e9bc42522d169009fcee69e8827016f73774 100755 (executable)
@@ -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 "$@"
 }