From: Chris Koeritz Date: Sun, 12 Nov 2017 03:33:17 +0000 (-0500) Subject: requiring root access on this now. X-Git-Tag: 2.140.98^2~27^2~3^2~3 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=ef7ceef623a3b07e29b7ba20d3a9a7e2be826688;p=feisty_meow.git requiring root access on this now. --- diff --git a/scripts/customize/fred/scripts/cakelampvm/revamp_web_permissions.sh b/scripts/customize/fred/scripts/cakelampvm/revamp_web_permissions.sh index 33d3fa68..a886ee43 100755 --- a/scripts/customize/fred/scripts/cakelampvm/revamp_web_permissions.sh +++ b/scripts/customize/fred/scripts/cakelampvm/revamp_web_permissions.sh @@ -5,6 +5,13 @@ source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" ############## +if (( $EUID != 0 )); then + echo "This script must be run as root or sudo." + exit 1 +fi + +############## + # make sure we have the appropriate access on a few key folders. normal_perm /var/www