From 227fe618d54fc7569e18a2bc46a05655b6965b9b Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 12 Nov 2017 21:33:50 -0500 Subject: [PATCH] getting perms right for right user --- scripts/site_avenger/powerup.sh | 3 +-- scripts/site_avenger/standup.sh | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.34.1