You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn
Aaron Klotz 21e9f98fc1 ipn, paths: unconditionally attempt to set state dir perms, but only if the state dir is ours
We unconditionally set appropriate perms on the statefile dir.

We look at the basename of the statefile dir, and if it is "tailscale", then
we set perms as appropriate.

Fixes #2925
Updates #2856

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
3 years ago
..
ipnlocal tailcfg, health: add way for control plane to add problems to health check 3 years ago
ipnserver logpolicy: don't use C:\ProgramData use for tailscale-ipn GUI's log dir 3 years ago
ipnstate cmd/tailscale: fix "tailscale ip $self-host-hostname" 3 years ago
localapi ipn/localapi, cmd/tailscale: add CPU & memory profile support, debug command 3 years ago
policy ipn/policy: mark peerapi4 and peerapi6 as interesting services 3 years ago
backend.go ipnlocal: accept a new opts.UpdatePrefs field. 3 years ago
doc.go Move Linux client & common packages into a public repo. 4 years ago
fake_test.go ipn{,/ipnlocal}, cmd/tailscale/cli: don't check pref reverts on initial up 3 years ago
handle.go ipn: another controlplane synonym 3 years ago
message.go ipn: don't log IPN messages that may contain an authkey. 3 years ago
message_test.go ipn: allow b to be nil in NewBackendServer 3 years ago
prefs.go ipn: another controlplane synonym 3 years ago
prefs_clone.go cmd/cloner: add Clone context to regen struct assignments 3 years ago
prefs_test.go ipn, etc: use controlplane.tailscale.com 3 years ago
store.go ipn, paths: unconditionally attempt to set state dir perms, but only if the state dir is ours 3 years ago
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 4 years ago