From: Mark Huang Date: Fri, 15 Dec 2006 20:16:16 +0000 (+0000) Subject: Make GPG key readable by apache so that the API can sign peer requests X-Git-Tag: planetlab-4_0-rc1~61 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=c3f2b0ae1254f9dc021bb8f6bbf7efd2f34e8e97 Make GPG key readable by apache so that the API can sign peer requests --- diff --git a/plc.d/gpg b/plc.d/gpg index 04ef2fc..c9e6701 100755 --- a/plc.d/gpg +++ b/plc.d/gpg @@ -7,7 +7,7 @@ # Mark Huang # 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 @@ -48,6 +48,8 @@ EOF 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