fleet/orbit/pkg
Roberto Dip 35e06fa1ee
ensure file permissions of the nudge config file are consistent (#11374)
For #11218, In the initial implementation of the feature, we used to
launch Nudge as a root, so setting the permissions of the config file to
0600 was okay.

As part of the fix for #10044, we now launch Nudge as the current user
(which is also recommended in the Nudge wiki), but previous
installations of the beta version (probably only Fleeties using Dogfood)
still have the configuration file with restrictive permissions, so Nudge
wasn't able to read the config when launched as a user.

This is kind of hidden because `os.WriteFile` takes a permission
arugment, but it's only used if it's writing the file for the first
time.
2023-04-27 10:22:42 -03:00
..
augeas Embed augeas lenses in orbit binary (#8901) 2022-12-02 10:19:54 -05:00
build Add user agent to Orbit HTTP client (#5429) 2022-05-02 11:03:49 -07:00
constant Add mTLS support to fleetd (#11319) 2023-04-27 08:44:39 -03:00
execuser launch Nudge using /usr/bin/open (#10051) 2023-02-23 14:48:40 -03:00
insecure Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
osquery update file carver block size and various MySQL references (#9625) 2023-02-02 01:01:34 -05:00
osservice 8009 fleet desktop icon duplication (#8017) 2022-10-13 10:58:37 -03:00
packaging Add mTLS support to fleetd (#11319) 2023-04-27 08:44:39 -03:00
platform Orbit to set --database_path when invoking osquery to retrieve system info (#10308) 2023-03-13 18:54:18 -03:00
process Fleetctl to package .app bundles for osquery (and changes for orbit to support them) (#4393) 2022-03-15 16:04:12 -03:00
profiles Prevent user action in profiles managed by Fleet (#10559) 2023-03-17 18:52:30 -03:00
table add simple go osquery extension & readme to register orbit tables (#10795) 2023-03-31 10:39:13 -04:00
token Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
update ensure file permissions of the nudge config file are consistent (#11374) 2023-04-27 10:22:42 -03:00
useraction Update disk encryption refresh copy (#11033) 2023-04-06 15:20:07 -05:00