From 791f23ff2dde7c87f67ac9119916082f20877534 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 12 Nov 2017 15:39:11 -0500 Subject: [PATCH] cleaning perms --- .../cakelampvm/revamp_web_permissions.sh | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/scripts/customize/fred/scripts/cakelampvm/revamp_web_permissions.sh b/scripts/customize/fred/scripts/cakelampvm/revamp_web_permissions.sh index 29483051..b138484c 100644 --- a/scripts/customize/fred/scripts/cakelampvm/revamp_web_permissions.sh +++ b/scripts/customize/fred/scripts/cakelampvm/revamp_web_permissions.sh @@ -18,23 +18,23 @@ source "$FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh" ############## -# make sure we have the appropriate access on a few key folders. -normal_perm /var/www +# fix up the main web storage. +chown -R www-data:www-data /var/www +group_perm /var/www ############## -# change the owner for the web roots to the apache user, www-data. -chown -R www-data:www-data /var/www - -# put a couple specific ownerships into play so the appropriate user has full access. -chown -R developer:developer /home/developer /opt/feistymeow.org /etc/apache2 /etc/bind - -chown -R fred:fred /home/fred /home/archives/stuffing +# set up access on some important folders for the developer user. +chown -R developer:developer /home/developer /opt/feistymeow.org /etc/apache2 /etc/bind +normal_perm /opt/feistymeow.org +harsh_perm /home/developer/.ssh +group_perm /etc/apache2 /etc/bind ############## -# these directories will be given group permissons that enable web server access. -group_perm /var/www /etc/apache2 /etc/bind +# fix perms for fred user. +chown -R fred:fred /home/fred /home/archives/stuffing +harsh_perm /home/fred/.ssh ############## -- 2.34.1