From: Oliver Kurth Date: Tue, 24 Apr 2018 00:08:18 +0000 (-0700) Subject: Set perms on Tools script logs. X-Git-Tag: stable-10.3.0~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba65905dfc7e6c07d1aeea37db885284e54b02fa;p=thirdparty%2Fopen-vm-tools.git Set perms on Tools script logs. Make the network script logs secure; set log file perms to 0600. --- diff --git a/open-vm-tools/scripts/linux/network b/open-vm-tools/scripts/linux/network index cef9ec282..5eba15cb9 100644 --- a/open-vm-tools/scripts/linux/network +++ b/open-vm-tools/scripts/linux/network @@ -46,6 +46,7 @@ rotate_logfile # redirect stdio exec > $logfile 2>&1 +chmod 0600 $logfile echo `date` ": Executing '$0 $*'"