projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9b66b19
)
avoid chown -R, explicitly indicate the files we expect to be changed.
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Thu, 19 Feb 2009 10:03:05 +0000
(
05:03
-0500)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Thu, 19 Feb 2009 10:03:05 +0000
(
05:03
-0500)
src/share/ma/setup
patch
|
blob
|
history
diff --git
a/src/share/ma/setup
b/src/share/ma/setup
index f3d462af964dd6f8855f22612c2adac7b55bde6d..54ab5be186851c2194b7a38c1965860e59337dff 100644
(file)
--- 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
# 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)
# get fingerprint of core key. this should be empty on unconfigured systems.
local CORE_FPR=$(core_fingerprint)