Compare commits

..

No commits in common. "82411f00f443bc265606198d291d848ac23a262f" and "9ec95657b78de7191059d66933b15cada3aae577" have entirely different histories.

View File

@ -22,10 +22,8 @@ reconcileDockerOwnership()
local mode="${1:-$CFG_DOCKER_INSTALL_TYPE}"
[[ -d "$docker_dir" ]] || return 0
# The control plane is owned by the MANAGER user in BOTH modes. root:root was
# never the intended model — it only ever showed up as an artifact of
# un-de-sudo'd commands (sudo creating files as root instead of libreportal).
local owner="$sudo_user_name"
local owner="root"
[[ "$mode" == "rootless" ]] && owner="$sudo_user_name"
# Swap ONLY the owner on our own control-plane files; never reset mode bits
# (so nothing that validates its permissions gets surprised). The only two