Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

magento 2 file permissions

find . -type f -exec chmod 664 {} ;
find . -type d -exec chmod 775 {} ;
find var pub/static pub/media  generated/ app/etc -type f -exec chmod g+w {} ;
find var pub/static pub/media generated/ app/etc -type d -exec chmod g+ws {} ;
Source by devdocs.magento.com #
 
PREVIOUS NEXT
Tagged: #magento #file #permissions
ADD COMMENT
Topic
Name
2+1 =