From 39996655a57ca3167e733d0a0457941ae4060270 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Thu, 19 Feb 2009 05:03:05 -0500 Subject: avoid chown -R, explicitly indicate the files we expect to be changed. --- src/share/ma/setup | 5 ++--- 1 file 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) -- cgit v1.2.3