diff --git a/scripts/webui/webui_install_image.sh b/scripts/webui/webui_install_image.sh index 5e5bbf6..e7012e4 100755 --- a/scripts/webui/webui_install_image.sh +++ b/scripts/webui/webui_install_image.sh @@ -6,6 +6,13 @@ installLibrePortalImageWebUI() isNotice "Building the LibrePortal WebUI Docker image..." + # The copy below writes into the dockerinstall-owned containers/ dir. On a + # fresh install the general traversal/ownership reconcile runs LATER, so at + # this point /docker is still 750 (untraversable by the container user) and + # containers/ may still be manager-owned — the copy would fail. Establish + # traversal (+x on /docker) and containers/ ownership FIRST. + fixFolderPermissions + local result=$(copyFolder "$install_containers_dir/libreportal" "$containers_dir" "$sudo_user_name") checkSuccess "Copy the LibrePortal to the containers folder"