X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;ds=inline;f=scripts%2Fsite_avenger%2Fstandup.sh;h=ff04faba037756d6b95b8d970883cc2671684599;hb=7e95b376817097cab9297cf0b0a9672564d86477;hp=5c3805c1562a495fb5b7da529fe452c8915c2a2a;hpb=227fe618d54fc7569e18a2bc46a05655b6965b9b;p=feisty_meow.git diff --git a/scripts/site_avenger/standup.sh b/scripts/site_avenger/standup.sh index 5c3805c1..ff04faba 100644 --- a/scripts/site_avenger/standup.sh +++ b/scripts/site_avenger/standup.sh @@ -81,6 +81,15 @@ sep echo about to do powerup with: app="$APPLICATION_NAME" repo="$REPO_NAME" theme="$THEME_NAME" echo default repo is "$DEFAULT_REPOSITORY_ROOT" +#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)"