From: John White Date: Thu, 3 Mar 2005 09:57:15 +0000 (+0000) Subject: Added the correct permissions to the user key generated when the script is called... X-Git-Tag: GLITE_RELEASE_1_2~6 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=c74824a4a456026b3b4640aff5ee3c47f4c5a465;p=glite-security-test-utils.git Added the correct permissions to the user key generated when the script is called without the --all option. --- diff --git a/bin/generate-test-certificates.sh b/bin/generate-test-certificates.sh index 168891d..0b71879 100755 --- a/bin/generate-test-certificates.sh +++ b/bin/generate-test-certificates.sh @@ -262,6 +262,8 @@ function create_some { fi cp $CERT_DIR/${catype}_client.cert home/usercert.pem cp $CERT_DIR/${catype}_client.priv home/userkey.pem + # set the correct permissions for globus... + chmod 400 home/userkey.pem } # create all certificates