git://git.onelab.eu
/
myplc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e95b486
)
Make GPG key readable by apache so that the API can sign peer requests
author
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 15 Dec 2006 20:16:16 +0000
(20:16 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 15 Dec 2006 20:16:16 +0000
(20:16 +0000)
plc.d/gpg
patch
|
blob
|
history
diff --git
a/plc.d/gpg
b/plc.d/gpg
index
04ef2fc
..
c9e6701
100755
(executable)
--- a/
plc.d/gpg
+++ b/
plc.d/gpg
@@
-7,7
+7,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id: gpg,v 1.
6 2006/05/18 17:34:10
mlhuang Exp $
+# $Id: gpg,v 1.
7 2006/06/23 20:29:22
mlhuang Exp $
#
# Source function library and configuration
#
# Source function library and configuration
@@
-48,6
+48,8
@@
EOF
check
rm -f /dev/random
mknod /dev/random c 1 8
check
rm -f /dev/random
mknod /dev/random c 1 8
+ # Make GPG key readable by apache so that the API can sign peer requests
+ chown apache $PLC_ROOT_GPG_KEY
chmod 644 $PLC_ROOT_GPG_KEY_PUB
chmod 600 $PLC_ROOT_GPG_KEY
else
chmod 644 $PLC_ROOT_GPG_KEY_PUB
chmod 600 $PLC_ROOT_GPG_KEY
else