From: Peter Palfrader Date: Wed, 27 May 2009 19:04:50 +0000 (+0200) Subject: Add a umask 077 for good measure X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=13e9be797544daadc6552898f937084e0f2c4fbb;p=mirror%2Fdsa-puppet.git Add a umask 077 for good measure --- diff --git a/modules/geodns/files/common/recvconf b/modules/geodns/files/common/recvconf index df312e8f8..4845a2c5d 100755 --- a/modules/geodns/files/common/recvconf +++ b/modules/geodns/files/common/recvconf @@ -18,6 +18,8 @@ FILELIST="$1" printf "\nrecvconf on %s processing:\n" "$(hostname -s)" +umask 077 + temptar="$(mktemp)" chmod 0600 "$temptar"