diff --git a/scripts/function/permission/libreportal_folders.sh b/scripts/function/permission/libreportal_folders.sh index 6676c77..d578491 100755 --- a/scripts/function/permission/libreportal_folders.sh +++ b/scripts/function/permission/libreportal_folders.sh @@ -83,6 +83,12 @@ reconcileWebuiDirOwnership() fi runOwnership webui runOwnership webui-bind + # The drop the WebUI hands secrets through, created here for the same reason + # webui-bind is: it needs ownership only root can set, and it has to exist + # before the first time someone types a password into the wizard. Without + # it /api/setup/secret answers 503 and a remote backup destination cannot be + # added at all. + runOwnership secret-dir isSuccessful "Reconciled WebUI dir ($webui_dir)" }