explicitly set MONKEYSPHERE_GROUP
[monkeysphere.git] / src / share / mh / add_revoker
index 077b0d06b4409732f1c31febcf38b9b5e0e48333..c83cb24e3cff294a1ca8e3594b27332c63f7bbd3 100644 (file)
@@ -64,7 +64,7 @@ else
     # fix permissions and ownership on temporary directory which will
     # be used by monkeysphere user for storing the downloaded key
     chmod 0700 "$tmpDir"
-    chown "$MONKEYSPHERE_USER":"$MONKEYSPHERE_USER" "$tmpDir"
+    chown "$MONKEYSPHERE_USER":"$MONKEYSPHERE_GROUP" "$tmpDir"
 
     # download the key from the keyserver as the monkeysphere user
     log verbose "searching keyserver $KEYSERVER for keyID $keyID..."