summaryrefslogtreecommitdiff
path: root/src/share/ma/setup
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-19 05:03:05 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-02-19 05:03:05 -0500
commit39996655a57ca3167e733d0a0457941ae4060270 (patch)
tree50be9f99523e65063ccda89a38d483b15bf41eb1 /src/share/ma/setup
parent9b66b19a701fa74d90d5f3b3325e2c8fdd173549 (diff)
avoid chown -R, explicitly indicate the files we expect to be changed.
Diffstat (limited to 'src/share/ma/setup')
-rw-r--r--src/share/ma/setup5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/share/ma/setup b/src/share/ma/setup
index f3d462a..54ab5be 100644
--- a/src/share/ma/setup
+++ b/src/share/ma/setup
@@ -42,9 +42,8 @@ EOF
# make sure the monkeysphere user owns everything in the sphere
# gnupghome
- log debuf "fixing sphere gnupg home ownership..."
- chown -R "$MONKEYSPHERE_USER" "${GNUPGHOME_SPHERE}"
- chgrp -R "$MONKEYSPHERE_USER" "${GNUPGHOME_SPHERE}"
+ log debug "fixing sphere gnupg home ownership..."
+ chown "$MONKEYSPHERE_USER:$MONKEYSPHERE_USER" "${GNUPGHOME_SPHERE}" "${GNUPGHOME_SPHERE}"/gpg.conf
# get fingerprint of core key. this should be empty on unconfigured systems.
local CORE_FPR=$(core_fingerprint)