fleet/ee/fleetctl
Zach Wasserman 7531ac20db
Use stricter file permissions in fleetctl updates add (#9516)
This resolves an issue with adding updates on a macOS 13 machine. It
seems like macOS may have changed the default directory permissions and
these new stricter permissions are compatible with that default.

This is the error that was encountered before these changes:

```
Error: create dst dir for copy: Path staged/targets already exists with
mode 20000000700 instead of the expected 20000000755
```

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
2023-01-30 17:28:56 -08:00
..
updates_test.go Update go-tuf to v0.5.0 (bis) (#8112) 2022-10-07 17:03:39 -03:00
updates_windows.go Fix missing import on Windows (#3035) 2021-11-18 18:37:29 -08:00
updates.go Use stricter file permissions in fleetctl updates add (#9516) 2023-01-30 17:28:56 -08:00