tailscale/paths
Aaron Klotz f3be05e6ea 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>
2021-09-24 15:12:20 -07:00
..
migrate.go ipn, paths: ensure that the state directory for Windows has the correct perms 2021-09-24 13:55:11 -07:00
paths_unix.go ipn, paths: unconditionally attempt to set state dir perms, but only if the state dir is ours 2021-09-24 15:12:20 -07:00
paths_windows.go ipn, paths: unconditionally attempt to set state dir perms, but only if the state dir is ours 2021-09-24 15:12:20 -07:00
paths.go ipn, paths: ensure that the state directory for Windows has the correct perms 2021-09-24 13:55:11 -07:00