From: Don Armstrong Date: Tue, 26 Jan 2010 22:08:27 +0000 (+0000) Subject: * fix chmod call X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4f968d8160adb588f775084d80293193b7f4e567;hp=e3a592005903413b8d7bef39e7d71dd6e0781601;p=bin.git * fix chmod call --- diff --git a/add_openvpn_host b/add_openvpn_host index 9a81030..adcb633 100755 --- a/add_openvpn_host +++ b/add_openvpn_host @@ -57,5 +57,5 @@ tar -zcf "${HOST}".tar.gz -C "${TMPDIR}" \ rm -rf "${TMPDIR}" cp ../ccd/__template__ ../ccd/"${HOST}"; -chmod +644 ../ccd/"${HOST}"; +chmod 0644 ../ccd/"${HOST}"; HOST="${HOST}" perl -pi -e 's/HOSTNAME/$ENV{HOST}/g' ../ccd/"${HOST}";