From 9baa83fca8a97fe4c0e02557246bdd6069a50b27 Mon Sep 17 00:00:00 2001 From: Doug Lincicome Date: Sun, 25 Mar 2018 22:53:46 -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 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', ];