I'm getting 403 errors in my console for calendar.css, mixins.js, require.js. Is it permission or ownership issue?
1 Answer
I usually use the following file/folder permissions and haven't run into issues so far.
cd <MAGENTO_INSTALL_DIR>
find . -type f -exec chmod 664 {} \;
find . -type d -exec chmod 775 {} \;
find var pub/static pub/media app/etc -type f -exec chmod g+w {} \;
find var pub/static pub/media app/etc -type d -exec chmod g+ws {} \;
chmod u+x bin/magento
-
In what folder are you running this? Magento Root? Commented Jan 21, 2019 at 21:39
-
-
I get this error with this: find: paths must precede expression: find Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] Commented Jan 21, 2019 at 21:45
-
-
I believe I used or modified and used the settings suggested by the Magento for a while now. Here's the Magento link for ref: devdocs.magento.com/guides/v2.1/comp-mgr/trouble/cman/… Commented Jan 21, 2019 at 21:49