diff options
| author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2022-01-06 07:43:24 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <brad@danga.com> | 2022-01-06 07:59:20 -0800 |
| commit | 3690bfecb09deb5f069f26d9ff44be94cdbf79ed (patch) | |
| tree | 0990f71d27ac52a7b58b5782a55562005a252f76 /cmd | |
| parent | 28bf53f50235cc88f4ddac71f69bb24b928732e1 (diff) | |
| download | tailscale-3690bfecb09deb5f069f26d9ff44be94cdbf79ed.tar.xz tailscale-3690bfecb09deb5f069f26d9ff44be94cdbf79ed.zip | |
ipn/ipnlocal: fix cert fetching on macOS GUI platforms
And clarify the directory they get written to when under the sandbox.
Fixes #3667
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/tailscale/cli/cert.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/tailscale/cli/cert.go b/cmd/tailscale/cli/cert.go index fa2a3e4fb..1cb7d3ba4 100644 --- a/cmd/tailscale/cli/cert.go +++ b/cmd/tailscale/cli/cert.go @@ -108,7 +108,7 @@ func runCert(ctx context.Context, args []string) error { if version.IsMacSysExt() { dir = "io.tailscale.ipn.macsys" } - printf("Warning: the macOS CLI runs in a sandbox; this binary's filesystem writes go to $HOME/Library/Containers/%s\n", dir) + printf("Warning: the macOS CLI runs in a sandbox; this binary's filesystem writes go to $HOME/Library/Containers/%s/Data\n", dir) } if certArgs.certFile != "" { certChanged, err := writeIfChanged(certArgs.certFile, certPEM, 0644) |
