Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

commands from prod_file-sys-perms.html for post production file system permissions #683

Closed
@rip057

Description

@rip057

on the page

http://devdocs.magento.com/guides/v2.0/config-guide/prod/prod_file-sys-perms.html

the commands as follows for post install or production store

find var vendor lib pub/static pub/media app/etc -type f -exec chmod g-w {} ;
find var vendor lib pub/static pub/media app/etc -type d -exec chmod g-w {} ;
chmod o-rwx app/etc/env.php

specifically renders the software broken as the home page reveals this

Fatal error: Uncaught exception 'Zend_Cache_Exception' with message 'cache_dir "/var/www/magento2/var/page_cache" is not writable' in /var/www/magento2/vendor/magento/zendframework1/library/Zend/Cache.php:209 Stack trace: #0 /var/www/magento2/vendor/magento/zendframework1/library/Zend/Cache/Backend/File.php(180): Zend_Cache::throwException('cache_dir "/var...') #1 /var/www/magento2/lib/internal/Cm/Cache/Backend/File.php(82): Zend_Cache_Backend_File->setCacheDir('/var/www/magent...') #2 /var/www/magento2/vendor/magento/zendframework1/library/Zend/Cache.php(153): Cm_Cache_Backend_File->__construct(Array) #3 /var/www/magento2/vendor/magento/zendframework1/library/Zend/Cache.php(94): Zend_Cache::_makeBackend('Cm_Cache_Backen...', Array, true, true) #4 /var/www/magento2/vendor/magento/framework/App/Cache/Frontend/Factory.php(155): Zend_Cache::factory('Magento\Framewo...', 'Cm_Cache_Backen...', Array, Array, true, true, true) #5 /var/www/magento2/vendor/magento/framework/App/Cache/Frontend/Pool.php(67): Magento\Framework\App\C in /var/www/magento2/vendor/magento/zendframework1/library/Zend/Cache.php on line 209

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions