X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Fstandup.sh;h=4b97c9ca99838f0333bb573924d6857654d58bc8;hb=911ec3b60c22c0f70cc997903ea2032fa0d51f1e;hp=bb9d07000c778490a9d711e646213250c3e17b0e;hpb=51d8b4e834cb9363728cd73f15162304e2f15061;p=feisty_meow.git diff --git a/scripts/site_avenger/standup.sh b/scripts/site_avenger/standup.sh index bb9d0700..4b97c9ca 100644 --- a/scripts/site_avenger/standup.sh +++ b/scripts/site_avenger/standup.sh @@ -81,7 +81,16 @@ 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" +#hmmm: maybe can get rid of user name parm if this works? +echo before redo login permissions +sudo su -i -u $(logname) +echo after redo login permissions +whoami +echo user=$USER + + +# pass the real user name who should own the files. +powerup "$APPLICATION_NAME" "$REPO_NAME" "$THEME_NAME" "$(logname)" sep