Skip to content

Commit 2dcd034

Browse files
committed
Keep config.php group-writable
Signed-off-by: Jérôme Lafréchoux <jerome@jolimont.fr>
1 parent dde7b7c commit 2dcd034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ private function writeData(): void {
283283
$filePointer = fopen($this->configFilePath, 'r+');
284284

285285
// Prevent others not to read the config
286-
chmod($this->configFilePath, 0640);
286+
chmod($this->configFilePath, 0660);
287287

288288
// File does not exist, this can happen when doing a fresh install
289289
if (!is_resource($filePointer)) {

0 commit comments

Comments
 (0)