I'm getting 403 errors in my console for calendar.css, mixins.js, require.js. Is it permission or ownership issue?

1 Answer 1


I usually use the following file/folder permissions and haven't run into issues so far.

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? Jan 21, 2019 at 21:39
  • Yes, forgot to add that part..
    – Zan Kolev
    Jan 21, 2019 at 21:45
  • 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] Jan 21, 2019 at 21:45
  • Is there a document that you reference for this? Jan 21, 2019 at 21:46
  • 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/…
    – Zan Kolev
    Jan 21, 2019 at 21:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.