projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
227fe61
)
trying to drop sudo rights before powerup
author
Chris Koeritz
<fred@gruntose.com>
Mon, 13 Nov 2017 02:37:47 +0000
(21:37 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Mon, 13 Nov 2017 02:37:47 +0000
(21:37 -0500)
scripts/site_avenger/standup.sh
patch
|
blob
|
history
diff --git
a/scripts/site_avenger/standup.sh
b/scripts/site_avenger/standup.sh
index 5c3805c1562a495fb5b7da529fe452c8915c2a2a..ff04faba037756d6b95b8d970883cc2671684599 100644
(file)
--- 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)"