projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
36d090c
)
cleaned out some old code
author
Chris Koeritz
<fred@gruntose.com>
Sat, 19 May 2018 01:44:23 +0000
(21:44 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Sat, 19 May 2018 01:44:23 +0000
(21:44 -0400)
scripts/site_avenger/revamp_cakelampvm_v002.sh
patch
|
blob
|
history
diff --git
a/scripts/site_avenger/revamp_cakelampvm_v002.sh
b/scripts/site_avenger/revamp_cakelampvm_v002.sh
index 20f721c14db856fb6aefdd25ce14c02787483f2e..7c479d043b393b33109d8bfffc4ccf545d065914 100644
(file)
--- 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..."
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"
# 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"
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
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"
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
# 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