Skip to content

Instantly share code, notes, and snippets.

@cagartner
Forked from rafaelstz/permissoes_magento
Created July 3, 2019 18:39
Show Gist options
  • Save cagartner/dfe274fce6e821c8012b7b391c37c7af to your computer and use it in GitHub Desktop.
Save cagartner/dfe274fce6e821c8012b7b391c37c7af to your computer and use it in GitHub Desktop.
Permissões Magento
# With Sudo
sudo find . -type d -exec chmod 755 {} \;
sudo find . -type f -exec chmod 644 {} \;
sudo chmod 777 -R app/etc/;
sudo chmod 777 -R var/;
sudo chmod 777 -R media/;
# Without Sudo
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
chmod 777 -R app/etc/;
chmod 777 -R var/;
chmod 777 -R media/;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment