summaryrefslogtreecommitdiff
path: root/src/share/mh/publish_key
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-19 22:42:43 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-19 22:42:43 -0500
commite13bbc823bc8fe7a28303e45055643e15d0849cd (patch)
tree29a8318fed9d344c637eec3ef8dd0df9cacaae11 /src/share/mh/publish_key
parent826bfb547cc82252f18e63a25bb7ee5aeaaebc72 (diff)
parent21e298b8df5108b1337d66ba1a39184be4ce0e4e (diff)
Merge commit 'jrollins/master'
Diffstat (limited to 'src/share/mh/publish_key')
-rw-r--r--src/share/mh/publish_key2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/share/mh/publish_key b/src/share/mh/publish_key
index 05faa0b..b0ffd93 100644
--- a/src/share/mh/publish_key
+++ b/src/share/mh/publish_key
@@ -28,6 +28,8 @@ fi
# create a temporary gnupg directory from which to publish the key
export GNUPGHOME=$(msmktempdir)
+chmod 0700 "$GNUPGHOME"
+chown "$MONKEYSPHERE_USER":"$MONKEYSPHERE_USER" "$GNUPGHOME"
# trap to remove tmp dir if break
trap "rm -rf $GNUPGHOME" EXIT