Mo Zhu
06/15/2022, 6:23 PMfleetctl query
or fleetctl config
, I have to call sudo. Is there some way for me to make that go away, or is that on purpose?Kathy Satterlee
06/15/2022, 6:25 PMsudo
for the install as well?Mo Zhu
06/15/2022, 6:27 PMKathy Satterlee
06/15/2022, 6:30 PMnvm
to install Node and npm. There's some good documentation here. It's specifically focused on errors when installing global packages, but the same idea applies.zwass
06/15/2022, 6:33 PMchmod a+x $(which fleetctl)
.Kathy Satterlee
06/15/2022, 6:33 PMMo Zhu
06/15/2022, 6:40 PMopen /Users/mozhu/.fleet/config: permission denied
chmod a+rw ~/.fleet/config
File /Users/mozhu/.fleet/config already exists with mode 666 instead of the expected 600
Keith Swagler
06/15/2022, 7:15 PMMo Zhu
06/15/2022, 7:16 PMError: error verifying that config exists at /Users/mozhu/.fleet/config: open /Users/mozhu/.fleet/config: permission denied
zwass
06/15/2022, 7:16 PMroot
. You'll want to do sudo chown -R mozhu /Users/mozhu/.fleet/config
.Mo Zhu
06/15/2022, 7:18 PM