Last active
February 10, 2016 10:54
-
-
Save uovidiu/6f5795a38dd6ba14898a to your computer and use it in GitHub Desktop.
Magento permissions
This file contains 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 711 {} \; | |
find media/ -type d \-exec chmod 755 {} \; | |
find var/ -type d \-exec chmod 755 {} \; | |
find media -type f \-exec chmod 664 {} \; | |
find var -type f \-exec chmod 664 {} \; | |
from: https://blog.nexcess.net/2010/12/06/securing-magento-file-directory-permissions/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment