2 # fixes the cakelampvm permissions according to the way.
4 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
8 if (( $EUID != 0 )); then
9 echo "This script must be run as root or sudo."
15 # make sure we have the appropriate access on a few key folders.
20 # change the owner for the web roots to the apache user, www-data.
21 sudo chown -R www-data:www-data /var/www
23 # put a couple specific ownerships into play so the appropriate user has full access.
24 sudo chown -R developer:developer /home/developer \
29 sudo chown -R fred:fred /home/fred \
31 /home/archives/stuffing \
36 # these directories will be given group permissons that enable web server access.
37 group_perm /var/www/html \