Sign up for a GitHub account Sign in All Gists public anonymous / ee-perms.sh Created July 07, 2014 Code Revisions 1 /.sunken-menu-group /.sunken-menu-contents Embed HTTPS SSH You can clone with HTTPS or SSH . Download Gist /.only-with-full-nav View ee-perms.sh ee-perms.sh Raw File suppressed. Click to show. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 #!/usr/bin/env bash pushd /var/www/html/ # Set default permissions find . -type d -exec chmod 755 '{}' ';' find . -type f -exec chmod 644 '{}' ';' # Set directories permissions ee_dirs =( system/expressionengine/cache/ images/avatars/uploads/ images/captchas/ images/member_photos/ images/pm_attachments/ images/signature_attachments/ images/uploads/ ) for...