summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs_test.go
diff options
context:
space:
mode:
authorAndrew Lytvynov <awly@tailscale.com>2024-01-25 14:59:34 -0700
committerGitHub <noreply@github.com>2024-01-25 14:59:34 -0700
commitfbfc3b7e5192ce332b8c162543d47ce502953d71 (patch)
tree22cf44640ca4266e5b867c0e5ac1ac3646f1d5a2 /control/controlknobs/controlknobs_test.go
parent0f3b2e7b86c507ade1d514d09d350910752add98 (diff)
downloadtailscale-fbfc3b7e5192ce332b8c162543d47ce502953d71.tar.xz
tailscale-fbfc3b7e5192ce332b8c162543d47ce502953d71.zip
cmd/tailscale/cli: run Watch with NotifyNoPrivateKeys (#10950)
When running as non-root non-operator user, you get this error: ``` $ tailscale serve 8080 Access denied: watch IPN bus access denied, must set ipn.NotifyNoPrivateKeys when not running as admin/root or operator Use 'sudo tailscale serve 8080' or 'tailscale up --operator=$USER' to not require root. ``` It should fail, but the error message is confusing. With this fix: ``` $ tailscale serve 8080 sending serve config: Access denied: serve config denied Use 'sudo tailscale serve 8080' or 'tailscale up --operator=$USER' to not require root. ``` Updates #cleanup Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs_test.go')
0 files changed, 0 insertions, 0 deletions