Skip to content

Instantly share code, notes, and snippets.

@phsacramento
Created December 4, 2015 17:03
Show Gist options
  • Save phsacramento/efb7b0044ca2a4375471 to your computer and use it in GitHub Desktop.
Save phsacramento/efb7b0044ca2a4375471 to your computer and use it in GitHub Desktop.
Magento folder Permissions
# set 777 to all folders
```
find . -type d -exec chmod 777 {} \;
```
# reset permissions
```
find . -type d -exec chmod 777 {} \;
find . -type d -exec chmod 755 {} \;
chmod 777 var var/.htaccess app/etc
find var -type d -exec chmod 777 {} \;
chmod -R 777 media
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment