requiring root access on this now.
authorChris Koeritz <fred@gruntose.com>
Sun, 12 Nov 2017 03:33:17 +0000 (22:33 -0500)
committerChris Koeritz <fred@gruntose.com>
Sun, 12 Nov 2017 03:33:17 +0000 (22:33 -0500)
scripts/customize/fred/scripts/cakelampvm/revamp_web_permissions.sh

index 33d3fa689346b020fb2e153cf06cb4326bdf0fad..a886ee43f822bbbb1e1f73872c08357b3a566498 100755 (executable)
@@ -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