Add read right to "other" so www-data is able to read the configuration file after the tests

This commit is contained in:
jf-cbd
2024-02-21 17:12:43 +01:00
parent 2e5f0b064c
commit a6e5f95ff4
3 changed files with 6 additions and 6 deletions

View File

@@ -47,7 +47,7 @@ class iTopConfigParserTest extends ItopTestCase
@chmod($this->sConfigPath, 0770);
$bRenameResult = rename($this->tmpSavePath, $this->sConfigPath);
echo "Restored config file, result={$bRenameResult}";
@chmod($this->sConfigPath, 0440);
@chmod($this->sConfigPath, 0444);
}
}