From 87ad6ebbfcf4ed1585a1f4c26603cc2676e72f26 Mon Sep 17 00:00:00 2001 From: Doug Lincicome Date: Wed, 28 Mar 2018 07:00:25 -0500 Subject: [PATCH] Removed cache backend option which explicitly set file permissions - Removed hashed_directory_umask option because it caused Cm_Cache_Backend_File class to explicitly set permissions using chmod, ignoring umask and setgid bit. - Zend_Cache_Backend_File class has deprecated and removed hashed_directory_umask option from Zend Framework v1.12+ - Magento Framework does not explicitly set file & directory permissions as of v2.0.6+ --- lib/internal/Magento/Framework/App/Cache/Frontend/Factory.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/internal/Magento/Framework/App/Cache/Frontend/Factory.php b/lib/internal/Magento/Framework/App/Cache/Frontend/Factory.php index 0e7ac7527ccba..e8eca51aad976 100644 --- a/lib/internal/Magento/Framework/App/Cache/Frontend/Factory.php +++ b/lib/internal/Magento/Framework/App/Cache/Frontend/Factory.php @@ -71,7 +71,6 @@ class Factory */ protected $_backendOptions = [ 'hashed_directory_level' => 1, - 'hashed_directory_umask' => 0777, 'file_name_prefix' => 'mage', ];