From 2dcd0345320a3dac7b20dfdb497991bc9f098d09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lafr=C3=A9choux?= Date: Wed, 28 Jan 2026 14:14:20 +0100 Subject: [PATCH] Keep config.php group-writable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Lafréchoux --- lib/private/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Config.php b/lib/private/Config.php index 30ccbb2f2d406..8d862524a92de 100644 --- a/lib/private/Config.php +++ b/lib/private/Config.php @@ -283,7 +283,7 @@ private function writeData(): void { $filePointer = fopen($this->configFilePath, 'r+'); // Prevent others not to read the config - chmod($this->configFilePath, 0640); + chmod($this->configFilePath, 0660); // File does not exist, this can happen when doing a fresh install if (!is_resource($filePointer)) {