From: Oliver Kurth Date: Mon, 3 Jun 2019 20:39:45 +0000 (-0700) Subject: Common source file change not applicable to open-vm-tools. X-Git-Tag: stable-11.0.0~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be8b98cda2d3149966b73d91cc76e77bf19d8228;p=thirdparty%2Fopen-vm-tools.git Common source file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/services/plugins/deployPkg/deployPkgLog.c b/open-vm-tools/services/plugins/deployPkg/deployPkgLog.c index dcc09ec50..f02585507 100644 --- a/open-vm-tools/services/plugins/deployPkg/deployPkgLog.c +++ b/open-vm-tools/services/plugins/deployPkg/deployPkgLog.c @@ -34,6 +34,7 @@ #ifdef _WIN32 #include +#include "win32Access.h" #endif static FILE* _file = NULL; @@ -82,6 +83,8 @@ DeployPkgLog_Open() #ifndef _WIN32 setlinebuf(_file); (void) chmod(logPath, 0600); +#else + (void)Win32Access_SetFileOwnerRW(logPath); #endif DeployPkgLog_Log(log_debug, "## Starting deploy pkg operation"); }