cleared redundant code revamp v003
authorChris Koeritz <fred@gruntose.com>
Fri, 18 May 2018 22:15:15 +0000 (18:15 -0400)
committerChris Koeritz <fred@gruntose.com>
Fri, 18 May 2018 22:15:15 +0000 (18:15 -0400)
scripts/security/cool_permissionator.sh
scripts/site_avenger/revamp_cakelampvm_v003.sh

index e66cab8656e14aaaea91e05ec44d0655d8cd7ebb..3d0dc8ea4ba37e779d4533003a7e46008b791b30 100644 (file)
@@ -12,11 +12,11 @@ function reapply_cool_permissions()
 
   # first build a list of dirs based on their location in /home/archives.
   local arch_builder="archons basement codebarn games imaginations musix pooling prewar_toaster stuffing toaster walrus"
-  local ARCHIVE_HOME=/home/archives
+  local ARCHIVE_TOP=/home/archives
   local dirname
   local arch_addin
   for dirname in $arch_builder; do
-    arch_addin+="$ARCHIVE_HOME/$dirname "
+    arch_addin+="$ARCHIVE_TOP/$dirname "
   done
 #echo arch addin now is: $arch_addin
 
index ccd406598d55e6e1e06ae5c7259615695790db2e..08cb444edb2d25ad0052bafd786bb2850216de8f 100644 (file)
@@ -86,12 +86,14 @@ test_or_die "group_perm www-data"
 ##############
 
 # set up access on some important folders for the developer user.
+
 redeveloper
 test_or_die "running redeveloper to fix ownership"
 #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"
+#harsh_perm /home/developer/.ssh
+#test_or_die "harsh_perm setting on developer .ssh"
+
 chown -R developer:developer /etc/apache2 /etc/bind 
 test_or_die "chown apache2 and bind to developer"
 group_perm /etc/apache2 /etc/bind