From 79c9559f4fd331a13de2ecc6a2312664e08b15b9 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Tue, 3 Dec 2024 10:05:53 +0100 Subject: [PATCH] fix[installer]: remove potential security issue with chmod --- install/includes/core/core_class.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/install/includes/core/core_class.php b/install/includes/core/core_class.php index c04219c10..7a0c61446 100644 --- a/install/includes/core/core_class.php +++ b/install/includes/core/core_class.php @@ -155,9 +155,6 @@ class Core // Write the new database.php file $handle = fopen($output_path, 'w+'); - // Chmod the file, in case the user forgot - @chmod($output_path, 0777); - // Verify file permissions if (is_writable($output_path)) {