From c3f2b0ae1254f9dc021bb8f6bbf7efd2f34e8e97 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Fri, 15 Dec 2006 20:16:16 +0000 Subject: [PATCH] Make GPG key readable by apache so that the API can sign peer requests --- plc.d/gpg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.43.0