From: Don Armstrong Date: Sun, 6 Dec 2009 01:58:09 +0000 (+0000) Subject: fix ccd permisions X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5b3311771b69ac0d7f06657085c0c4b3277b8c47;p=bin.git fix ccd permisions --- diff --git a/add_openvpn_host b/add_openvpn_host index d85eeb9..9a81030 100755 --- a/add_openvpn_host +++ b/add_openvpn_host @@ -57,4 +57,5 @@ tar -zcf "${HOST}".tar.gz -C "${TMPDIR}" \ rm -rf "${TMPDIR}" cp ../ccd/__template__ ../ccd/"${HOST}"; +chmod +644 ../ccd/"${HOST}"; HOST="${HOST}" perl -pi -e 's/HOSTNAME/$ENV{HOST}/g' ../ccd/"${HOST}";