Fatal error: Uncaught Magento\Framework\Exception\FileSystemException: Directory "/data/projects/magento/www-20250630-2/var/cache/" cannot be created Warning!mkdir(): Permission denied in /data/projects/magento/www-20250630-2/vendor/magento/framework/Filesystem/Driver/File.php:272
Stack trace:
#0 /data/projects/magento/www-20250630-2/vendor/magento/framework/Filesystem/Driver/File.php(243): Magento\Framework\Filesystem\Driver\File->mkdirRecursive()
#1 /data/projects/magento/www-20250630-2/vendor/magento/framework/Filesystem/Directory/Write.php(99): Magento\Framework\Filesystem\Driver\File->createDirectory()
#2 /data/projects/magento/www-20250630-2/vendor/magento/framework/App/Cache/Frontend/Factory.php(312): Magento\Framework\Filesystem\Directory\Write->create()
#3 /data/projects/magento/www-20250630-2/vendor/magento/framework/App/Cache/Frontend/Factory.php(146): Magento\Framework\App\Cache\Frontend\Factory->_getBackendOptions()
#4 /data/projects/magento/www-20250630-2/vendor/magento/framework/App/Cache/Frontend/Pool.php(69): Magento\Framework\App\Cache\Frontend\Factory->create()
#5 /data/projects/magento/www-20250630-2/vendor/magento/framework/App/Cache/Frontend/Pool.php(156): Magento\Framework\App\Cache\Frontend\Pool->_initialize()
#6 /data/projects/magento/www-20250630-2/vendor/magento/framework/App/Cache/Type/FrontendPool.php(87): Magento\Framework\App\Cache\Frontend\Pool->get()
#7 /data/projects/magento/www-20250630-2/vendor/magento/framework/App/Interception/Cache/CompiledConfig.php(29): Magento\Framework\App\Cache\Type\FrontendPool->get()
#8 /data/projects/magento/www-20250630-2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\App\Interception\Cache\CompiledConfig->__construct()
#9 /data/projects/magento/www-20250630-2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject()
#10 /data/projects/magento/www-20250630-2/vendor/magento/framework/ObjectManager/ObjectManager.php(73): Magento\Framework\ObjectManager\Factory\Compiled->create()
#11 /data/projects/magento/www-20250630-2/vendor/magento/framework/App/ObjectManager/Environment/Compiled.php(117): Magento\Framework\ObjectManager\ObjectManager->get()
#12 /data/projects/magento/www-20250630-2/vendor/magento/framework/App/ObjectManagerFactory.php(191): Magento\Framework\App\ObjectManager\Environment\Compiled->configureObjectManager()
#13 /data/projects/magento/www-20250630-2/vendor/magento/framework/App/Bootstrap.php(212): Magento\Framework\App\ObjectManagerFactory->create()
#14 /data/projects/magento/www-20250630-2/vendor/magento/framework/App/Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct()
#15 /data/projects/magento/www-20250630-2/pub/index.php(27): Magento\Framework\App\Bootstrap::create()
#16 {main}
thrown in /data/projects/magento/www-20250630-2/vendor/magento/framework/Filesystem/Driver/File.php on line 272