Commit Graph

1 Commits (398594743711a8c8b63a708a0f4ad98c5e5f2efb)

Author SHA1 Message Date
Percy Wegmann 3985947437
cmd/tailscale,ipn:add support for automounting TailFS shares on MacOS
This adds two flags to the "tailscale set" command.

--automount-enabled enables automatically mounting TailFS shares
--automount-path optionally specifies the path at which to automount

If --automount-path is not set, TailFS will be mounted at /Volumes/tailscale.

The mount is owned by whatever user invoked "tailscale set" and has mode
0700 set (read,write,execute only by owning user).

By default, automounting is not enabled.

Updates tailscale/corp#16827

Signed-off-by: Percy Wegmann <percy@tailscale.com>
7 months ago