Created
March 14, 2022 12:37
-
-
Save Nav-Appaiya/2f143c208fa94e8700c54c09d457ae24 to your computer and use it in GitHub Desktop.
magento 2 permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find . -type f -exec chmod 644 {} \; | |
| find . -type d -exec chmod 755 {} \; | |
| 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 {} \; | |
| chown -R :<web server group> . | |
| chmod u+x bin/magento |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment