From 8bc9c7b3d09e3507f3a7035e54daadcd564a8589 Mon Sep 17 00:00:00 2001 From: liuheng Date: Mon, 1 Jul 2024 09:44:04 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E9=A2=84=E5=AE=89=E8=A3=85=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/local/PreInstallUtility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/local/PreInstallUtility.py b/script/local/PreInstallUtility.py index 5d3f11da..94ddbdc4 100644 --- a/script/local/PreInstallUtility.py +++ b/script/local/PreInstallUtility.py @@ -1384,7 +1384,7 @@ Common options: self.logger.debug( "Changing the owner of preinstall log path: %s." % omLogPath) if os.path.exists(omLogPath): - FileUtil.changeOwner(self.user, omLogPath, True, "shell", + FileUtil.changeOwner(self.user, omLogPath, False, "shell", retry_flag=True, retry_time=15, waite_time=1, link=True) self.logger.debug("Checking the permission of GPHOME: %s." % user_dir) cmd = g_file.SHELL_CMD_DICT["checkUserPermission"] % ( -- Gitee