From 5255b7bb25514b33ddfac95a577ca4cff0a0b0dd Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe <llewellyn@vdm.io> Date: Thu, 27 Jan 2022 16:45:36 +0200 Subject: [PATCH] Expert mode required to set user:group ID. --- src/octojoom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octojoom b/src/octojoom index 3094763..a417c50 100755 --- a/src/octojoom +++ b/src/octojoom @@ -367,8 +367,8 @@ function joomla__TRuST__setup() { $reset_volume && VDM_VOLUMES='' # add the projects path setContainerEnvVariable "VDM_PROJECT_PATH=\"${VDM_PROJECT_PATH}\"" - # set the container user detail id needed - if [ "${VDM_J_REPO}" = 'llewellyn/joomla' ]; then + # only if in expert mode set the container user detail id needed + if isExpert; then # if this is our octoleo images we can also set the user ID and user-group ID setContainerUser "$(id -u)" # check that we got the details