From e66f47c936e8b86047a2dffb356a67b74b9629db Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 18 May 2018 21:44:23 -0400 Subject: [PATCH] cleaned out some old code --- .../site_avenger/revamp_cakelampvm_v002.sh | 23 ++++++++----------- 1 file changed, 9 insertions(+), 14 deletions(-) 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 -- 2.34.1