butane icon indicating copy to clipboard operation
butane copied to clipboard

main: Write output ignition files with mode 0600

Open cgwalters opened this issue 4 years ago • 1 comments

Because the config is commonly expected to have secret values, use mode 0600. xref https://github.com/coreos/fedora-coreos-docs/issues/306

cgwalters avatar Aug 27 '21 19:08 cgwalters

Hmm, this introduces a divergence between files written with -o and those written by redirecting stdout. When running Butane from a container, we've generally recommended the latter. Does the divergence make things better or worse?

bgilbert avatar Aug 27 '21 21:08 bgilbert