summaryrefslogtreecommitdiff
path: root/src/share/mh/publish_key
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-07-11 16:00:22 -0400
committerJameson Graef Rollins <jrollins@finestructure.net>2009-07-11 16:00:22 -0400
commit134b8c66bec679556bec90c4eef937d464a7950e (patch)
tree0ef4f5987de2b28a1309cb7809bbdff7a66bdd43 /src/share/mh/publish_key
parenteb815bce0da27a24ad718c31b77e45032e3a5916 (diff)
explicitly set MONKEYSPHERE_GROUP
The monkeysphere group is now determined from the system "groups" command, and then MONKEYSPHERE_GROUP is explicitly set from this, and then used when setting group ownership.
Diffstat (limited to 'src/share/mh/publish_key')
-rw-r--r--src/share/mh/publish_key2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/mh/publish_key b/src/share/mh/publish_key
index b0ffd93..ab1b2dc 100644
--- a/src/share/mh/publish_key
+++ b/src/share/mh/publish_key
@@ -29,7 +29,7 @@ fi
# create a temporary gnupg directory from which to publish the key
export GNUPGHOME=$(msmktempdir)
chmod 0700 "$GNUPGHOME"
-chown "$MONKEYSPHERE_USER":"$MONKEYSPHERE_USER" "$GNUPGHOME"
+chown "$MONKEYSPHERE_USER":"$MONKEYSPHERE_GROUP" "$GNUPGHOME"
# trap to remove tmp dir if break
trap "rm -rf $GNUPGHOME" EXIT