Skip to content

Instantly share code, notes, and snippets.

@uovidiu
Last active February 10, 2016 10:54
Show Gist options
  • Save uovidiu/6f5795a38dd6ba14898a to your computer and use it in GitHub Desktop.
Save uovidiu/6f5795a38dd6ba14898a to your computer and use it in GitHub Desktop.
Magento permissions
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