From: Daniel Kahn Gillmor Date: Thu, 19 Feb 2009 10:03:05 +0000 (-0500) Subject: avoid chown -R, explicitly indicate the files we expect to be changed. X-Git-Tag: monkeysphere_0.23~42 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=39996655a57ca3167e733d0a0457941ae4060270;hp=9b66b19a701fa74d90d5f3b3325e2c8fdd173549;p=monkeysphere.git avoid chown -R, explicitly indicate the files we expect to be changed. --- 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)