From b23eea359f7518622676e55d11fd79e763f8a145 Mon Sep 17 00:00:00 2001 From: Jeffrey Bostoen Date: Wed, 1 Jul 2026 16:00:55 +0200 Subject: [PATCH] Fix: Restoring the backup of the iTop config file fails because of permissions. --- setup/unattended-install/unattended-install.php | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/unattended-install/unattended-install.php b/setup/unattended-install/unattended-install.php index 4151318add..bb48378976 100644 --- a/setup/unattended-install/unattended-install.php +++ b/setup/unattended-install/unattended-install.php @@ -401,6 +401,7 @@ function PrintUsageAndExit() if ($bUseItopConfig && is_file("$sConfigFile.backup")) { echo "\nuse config file provided by backup in $sConfigFile."; + chmod($sConfigFile, 0660); copy("$sConfigFile.backup", $sConfigFile); }