From: Chris Koeritz Date: Mon, 13 Nov 2017 02:33:50 +0000 (-0500) Subject: getting perms right for right user X-Git-Tag: 2.140.98^2~2^2~8 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=227fe618d54fc7569e18a2bc46a05655b6965b9b;p=feisty_meow.git getting perms right for right user --- diff --git a/scripts/site_avenger/powerup.sh b/scripts/site_avenger/powerup.sh index 05181fb5..cf8a5c43 100644 --- a/scripts/site_avenger/powerup.sh +++ b/scripts/site_avenger/powerup.sh @@ -49,8 +49,7 @@ repo_name="$1"; shift theme_name="$1"; shift user_name="$1"; shift -echo stopping with user name is $user_name -exit 1 +echo "*** user name is $user_name" if [ "$app_dirname" == "-help" -o "$app_dirname" == "--help" ]; then print_instructions diff --git a/scripts/site_avenger/standup.sh b/scripts/site_avenger/standup.sh index 3f5a0860..5c3805c1 100644 --- a/scripts/site_avenger/standup.sh +++ b/scripts/site_avenger/standup.sh @@ -81,7 +81,8 @@ sep echo about to do powerup with: app="$APPLICATION_NAME" repo="$REPO_NAME" theme="$THEME_NAME" echo default repo is "$DEFAULT_REPOSITORY_ROOT" -powerup "$APPLICATION_NAME" "$REPO_NAME" "$THEME_NAME" "$USER" +# pass the real user name who should own the files. +powerup "$APPLICATION_NAME" "$REPO_NAME" "$THEME_NAME" "$(logname)" sep