права
Posted: Thu Mar 01, 2018 12:31 am
Стоит magento. Когда даю права сайт падает с 403 ошибкой
find . -type f -exec chmod 400 {} \;
find . -type d -exec chmod 500 {} \;
find var/ -type f -exec chmod 600 {} \;
find media/ -type f -exec chmod 600 {} \;
find var/ -type d -exec chmod 700 {} \;
find media/ -type d -exec chmod 700 {} \;
chmod 700 includes
chmod 600 includes/config.php
потом запускаю find ./ -type f -name '.htaccess' -exec chmod 644 {} \;
слетает дизайн в логах (13)Permission denied: /home/admin/web/*/public_html/media/media/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
на public_html 755 владелец admin:admin
почему не читает .htaccess в папках сайта?
find . -type f -exec chmod 400 {} \;
find . -type d -exec chmod 500 {} \;
find var/ -type f -exec chmod 600 {} \;
find media/ -type f -exec chmod 600 {} \;
find var/ -type d -exec chmod 700 {} \;
find media/ -type d -exec chmod 700 {} \;
chmod 700 includes
chmod 600 includes/config.php
потом запускаю find ./ -type f -name '.htaccess' -exec chmod 644 {} \;
слетает дизайн в логах (13)Permission denied: /home/admin/web/*/public_html/media/media/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
на public_html 755 владелец admin:admin
почему не читает .htaccess в папках сайта?