From: Chris Koeritz Date: Sun, 12 Nov 2017 20:39:11 +0000 (-0500) Subject: cleaning perms X-Git-Tag: 2.140.98^2~4^2~6 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=791f23ff2dde7c87f67ac9119916082f20877534;p=feisty_meow.git cleaning perms --- 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 ##############