From de120cc54878e2e7e3b427406b96301db59c4fa6 Mon Sep 17 00:00:00 2001 From: xevidos Date: Tue, 24 Jul 2018 09:16:05 -0400 Subject: [PATCH] Fixed permissions for sessions folder --- components/install/process.php | 2 +- components/update/update.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/install/process.php b/components/install/process.php index c588727..cfceb5c 100755 --- a/components/install/process.php +++ b/components/install/process.php @@ -120,7 +120,7 @@ if (!file_exists($users) && !file_exists($projects) && !file_exists($active)) { if ( ! is_dir( $sessions ) ) { - mkdir( $sessions, 770 ); + mkdir( $sessions, 755 ); } ////////////////////////////////////////////////////////////////// diff --git a/components/update/update.php b/components/update/update.php index b1baaab..ab0ae83 100755 --- a/components/update/update.php +++ b/components/update/update.php @@ -196,7 +196,7 @@ class updater { if ( ! is_dir( $sessions ) ) { - mkdir( $sessions, 770 ); + mkdir( $sessions, 755 ); } $src = $this->path . "/codiad-master/";