From 51448239931a3f678856083743e9e99827958cfd Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 27 Feb 2023 08:51:43 +0100 Subject: [PATCH] Suppress the permission problem when migrating from one linux installation to another --- system/libraries/Cache/drivers/Cache_file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/libraries/Cache/drivers/Cache_file.php b/system/libraries/Cache/drivers/Cache_file.php index bde35141..9b167172 100644 --- a/system/libraries/Cache/drivers/Cache_file.php +++ b/system/libraries/Cache/drivers/Cache_file.php @@ -103,7 +103,7 @@ class CI_Cache_file extends CI_Driver { if (write_file($this->_cache_path.$id, serialize($contents))) { - chmod($this->_cache_path.$id, 0640); + @chmod($this->_cache_path.$id, 0640); return TRUE; }