[client] Restrict debug bundle log path and upload destinations (#6975)

This commit is contained in:
Viktor Liu
2026-07-31 19:12:56 +02:00
committed by GitHub
parent f51fadf8d4
commit feecb993f4
24 changed files with 976 additions and 73 deletions
+3
View File
@@ -72,6 +72,9 @@ type Server struct {
// RegisterUILog. Guarded by mutex. Consumed by DebugBundle so the bundle
// can collect the GUI log even though the daemon runs as root and can't
// resolve the user's config dir. Last-writer-wins (one UI per socket).
// DebugBundle opens it on behalf of the bundle requester and refuses a file
// that caller does not own, so a local user cannot read another user's log
// or a root-only file through it.
uiLogPath string
oauthAuthFlow oauthAuthFlow