diff --git a/panelctl.sh b/panelctl.sh index 452370a..d65b5c8 100644 --- a/panelctl.sh +++ b/panelctl.sh @@ -455,7 +455,7 @@ cmd_remove() { local tmp tmp="$(mktemp)" sed "/^# route:${name}:start$/,/^# route:${name}:end$/d" "${route_file}" >"${tmp}" || true - mv "${tmp}" "${route_file}" + install -m 0664 -o reudy -g panelroutes "${tmp}" "${route_file}" fi rm -f "$(app_manifest "${name}")"