Drupal: Set file permission on filesystem with a shell script

This script is to set all file permissions at once for a Drupal website.


!/bin/bash
# Script made by David Rush, davidprush@gmail.com
# Changes the permissions of the Drupal sites directory to secure after isntallation
# Very Important Put this script in the same directory as your site/ directory

Cheat sheet Screen

Xterm.png

Screen Home:
http://www.gnu.org/software/screen/

Basics:
-ctrl a c -> create new window
-ctrl a A -> set window name
-ctrl a w -> show all window
-ctrl a 1|2|3|... -> switch to window n
-ctrl a " -> choose window
-ctrl a ctrl a -> switch between window
-ctrl a d -> detach window
-ctrl a ? -> help