projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tweak/cleanup some of the prompts.
[monkeysphere.git]
/
src
/
share
/
mh
/
publish_key
diff --git
a/src/share/mh/publish_key
b/src/share/mh/publish_key
index 05faa0be25e55b9a7e1ea7ce9c2bdda00370a09e..b0ffd93b96ae124f4717b85e2256e88c67d6187a 100644
(file)
--- 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