You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2896676
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -127,6 +128,9 @@ export class TailscaleServeFailedError extends Schema.TaggedErrorClass<Tailscale
127
128
overridegetmessage(): string{
128
129
if(this.stderrDiagnostic==="permission-denied"){
129
130
constexitDetail=this.exitCode===undefined ? "" : ` with code ${String(this.exitCode)}`;
131
+
if(this.executable==="tailscale.exe"){
132
+
return`tailscale serve failed${exitDetail} for HTTPS port ${String(this.servePort)}: access denied. Grant this Windows user permission to manage Tailscale, then retry.`;
133
+
}
130
134
return`tailscale serve failed${exitDetail} for HTTPS port ${String(this.servePort)}: access denied. Run \`sudo tailscale set --operator=$USER\`, then retry.`;
131
135
}
132
136
return`tailscale serve failed for HTTPS port ${String(this.servePort)}. Run \`tailscale serve --https=${String(this.servePort)} --bg <local-url>\` by hand to see why.`;
@@ -141,6 +145,7 @@ export function tailscaleServeFailedError(
0 commit comments