X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Frevamp_cakelampvm_v002.sh;h=7c479d043b393b33109d8bfffc4ccf545d065914;hb=e66f47c936e8b86047a2dffb356a67b74b9629db;hp=20f721c14db856fb6aefdd25ce14c02787483f2e;hpb=36d090cb2b5c061a72f893534dba986d0cbd391c;p=feisty_meow.git diff --git a/scripts/site_avenger/revamp_cakelampvm_v002.sh b/scripts/site_avenger/revamp_cakelampvm_v002.sh index 20f721c1..7c479d04 100644 --- a/scripts/site_avenger/revamp_cakelampvm_v002.sh +++ b/scripts/site_avenger/revamp_cakelampvm_v002.sh @@ -77,6 +77,8 @@ sep echo "Making some important permission changes..." +############## + # fix up the main web storage. chown -R www-data:www-data /var/www test_or_die "chown www-data" @@ -90,6 +92,12 @@ chown -R developer:developer /home/developer /home/developer/.[a-zA-Z0-9]* test_or_die "chown developer home" harsh_perm /home/developer/.ssh test_or_die "harsh_perm setting on developer .ssh" + + +############## + +# give the developer control over the apache and bind config files, as well +# as giving the user ownership of the local feisty meow repository. chown -R developer:developer /etc/apache2 /etc/bind test_or_die "chown apache2 and bind to developer" group_perm /etc/apache2 /etc/bind @@ -111,7 +119,7 @@ test_or_die "harsh_perm setting on fred .ssh" group_perm /home/fred/apps/mapsdemo test_or_die "group perms on mapsdemo app" -echo "Done with important permission changes." +echo "...done with permission changes." ############## # @@ -134,19 +142,6 @@ fi ############## -# install a better editor app. - -#sep - -#echo "The script is about to install the bluefish editor and some dependencies. -#If the app is not already installed, then this process takes about one minute -#on a slow home DSL internet connection..." - -#apt-get install -y bluefish &> "/tmp/install_bluefish-$(logname).log" -#test_or_continue "installing bluefish editor" - -############## - # deploy any site updates here to the VM's cakelampvm.com site. # # we want to upgrade the default apache site to the latest, since the new