Bash Commands Permissions Change permissions of all directories find {/var/www/...} -type d -exec chmod 755 {} \; Change permissions of all files find {/var/www/...} -type f -exec chmod 644 {} \;