set proper permissions on administrator gnupghome.
[monkeysphere.git] / 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 "$@"
 }