From: Valentin Vidic Date: Wed, 9 Mar 2011 13:05:24 +0000 (+0100) Subject: Recreate request file with public permissions. X-Git-Tag: debian/20110309~1 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=7e6002ef77007d098c7e90ec060150f0a3eed71e;p=bacula-cn.git Recreate request file with public permissions. --- diff --git a/debian/postinst b/debian/postinst index 932d18d..a192ddc 100644 --- a/debian/postinst +++ b/debian/postinst @@ -181,9 +181,10 @@ send_mail() { return fi - umask 077 + umask 022 chmod 0700 $GPG_HOME echo Generating request in $REQUEST_FILE + rm -f $REQUEST_FILE # Header cat > $REQUEST_FILE <